Subject: Re: namei caching of newly created files?
To: Daniel Carosone <email@example.com>
From: Charles M. Hannum <firstname.lastname@example.org>
Date: 01/20/2005 05:03:12
On Thursday 20 January 2005 03:24, Daniel Carosone wrote:
> This is hurting, mostly, because it's being done over and over again
> all the way to the end of the dir. As the simplest possible change,
> before looking at more complex solutions, having done the search to
> the end once and found no free slots, we could remember that fact. We
> would reset the flag on deleting an entry and making a space, or
> perhaps after doing so several times.
It's not that simple. There are often small pieces of directory blocks
available, but not large enough for the file name you're trying to create.