Re: reading an empty directory after reboot is very slow
On 2015-04-15 14:13:43 -0500, David Wright wrote:
> Quoting Kushal Kumaran (firstname.lastname@example.org):
> > Moving entries around breaks ongoing readdir operations. If a readdir
> > has gone past the file being removed, and you moved the last entry
> > there, the entry being moved would be missed, despite *it* not being the
> > entry added or removed.
> I don't think this matters. There's no guarantee that another process
> isn't writing to that directory while you are working your way along
> the entries.
But with the current solution (no automatic moving of an entry), you
can't miss an entry that hasn't been removed.
Vincent Lefèvre <email@example.com> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)