tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: don't use wapbl (-o log) on / (/dev)



On Thu, May 07, 2009 at 01:31:26AM +0000, David Holland wrote:
>  > cache needs to exist in the discs device driver, not in a FS.
> 
> That's not really true; you want to drop/invalidate buffers for blocks
> that you free when you truncate a file, and that happens regardless of
> whether the cachce is virtually or physically indexed.

Actually it would be useful to tell the disk driver that a block isn't
needed any more.  Devices with large erase blocks would benefit from
having more unallocated sectors.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index