Re: ext2fs enhacement/fix [re: shrinking directories]

Anthony Barbachan (barbacha@trill.cis.fordham.edu)
Mon, 20 Jul 1998 20:41:04 -0400


>>
> The problem of this solution is (when done on mounted fs) that noone can
be
>reading the directory when we are replacing the old copy (dir->f_pos will
be bad :() and
>I'm not sure how often this is satisfied on a busy servers with big dirs...

Perhaps not at the exact moment, but read request can be temporarily delayed
for the short amount of time it would take to update the directory entry.
Or the read request could be redirected to the updated directory which would
be present in memory. Besides directories are updated all the time as is.

>
> Bye Honza
>
>

-
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.altern.org/andrebalsa/doc/lkml-faq.html