[lkml]   [1999]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: RAMDISK Bug - 2.0.36 kernel (again)

On Wed, 27 Jan 1999 17:19:16 +0000 (GMT), Bill Melotti
<> said:

> Thanks for the reply. I thought the buffering was done at the block level
> and that the ramdisk code worked by basically setting the BH_Protected
> flag of the provided buffer on a write request (to prevent it ever get
> freed up) and if it should get a read request simply return zeroes,
> because there is no real block device to read. So even if files get
> deleted, that still involves writes to the block device and surely
> freeing the buffer might me you lose vital data from the filesystem
> structure.

Only the data blocks released will be freed in this way. All of the
inode tables and bitmap blocks which record the deletion of the data
still remain in the ramdisk.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:50    [W:0.034 / U:15.216 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site