Messages in this thread | | | Date | Mon, 6 Mar 2000 14:27:41 +0100 | From | Jamie Lokier <> | Subject | Re: Does your change make find faster by changing where it is storedor where it is returned? |
| |
Hans Reiser wrote: > The content is in the subject line. No more needed to be said.
The file type is already stored in the directory for all filesystems that say "FULL SUPPORT".
The patch changes where it is returned -- by not having to call stat(), the inode is not read from disk. As a bonus you reduce inode cache thrashing.
For filesystems that store the inode in the directory itself, there is no saving in I/O. You may as well return the type info anyway because it reduces kernel inode cache thrashing and reduces the number of syscalls.
enjoy, -- Jamie
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |