Subject: Re: Rewrite of buffer queue interface
To: None <tech-kern@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 07/13/2002 18:40:16
On Sat, Jul 13, 2002 at 10:01:58AM -0700, Jason R Thorpe wrote:
> On Sat, Jul 13, 2002 at 05:57:59PM +0100, David Laight wrote:
> 
>  > No - that does something (horribly) different - since it tends destroy
>  > any possible optimistations.
>  > I was thinking of something that would ensure (say) that an inode
>  > update (to delete a file) before the allocation map bits are
>  > changed.
>  > Maybe the second write could just be scheduled when the first finishes
>  > from the biodone() code.
> 
> That is, more or less, how the kernel works *now*.

I've been guessing why 'rm -rf' does quite so many disk accesses.
Maybe I should get a test system and do some experiments.
I'm being a bit paranoid by not playing with file system code
on my main system.

	David

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