Re: namei caching of newly created files?
"Charles M. Hannum" <[email protected]> Thu, 20 Jan 2005 05:03:12 +0000
| Newsgroups | gmane.os.netbsd.devel.performance,gmane.os.netbsd.devel.kernel |
|---|---|
| Organization | By Noon Software, Inc. |
| Message-ID | <[email protected]> |
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.