How about: a kernel thread/kerneld-like daemon is informed of all
directory changes. It could change directory structure from list
to hash/B+-tree or whatever as it grows.
What I'd also like to see is low priority kernel thread/kerneld-like
defragmenter. Current stuff is ugly, you duplicate many kernel
functions and the FS has to be offline, when all you need is ability
to lock a directory/file/block, move it, update references and unlock.
Also, in-kernel fsck could first lock the whole FS and then gradually
release locking on the parts it has verified. On the other hand,
the current userland version works nicely, thank you. But for
some really massive and time-critical systems?
-Topi
G? d- s++:- a- C++ ULS++++$ P++$ L++>+++ E W+ N !o K? !w !O !M !V PS+
PE++ Y+ PGP++ t+ 5? X !R tv@ b++ DI++ D+ G+ e+++ h--->h---- r+++ y?