Stale cached data in bdbuf creates problems

Sebastian Huber sebastian.huber at embedded-brains.de
Tue May 1 08:45:07 UTC 2012


Hi,

I will use this notation dev = (major, minor).  First you create a 
driver and get a major number.  The physical disk will be (major, 0).  
Now you call rtems_bdpart_register() and this will create logical disks 
(major, X) with X = 1, ..., partition count.  You have to sync and purge 
all disks (major, 0), ..., (major, partition count).  The media manager 
takes care of this, maybe it make sense to port it to 4.10.

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list