tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How NFS keeps state for getdents()?



On Mon, Sep 22, 2014 at 05:38:14AM +0000, David Holland wrote:
> Providing stable (or even correct) directory iteration is a Problem
> and there is no particularly good solution. Some file systems
> (eg. xfs) have gone to fairly substantial trouble to try to make this
> work.


That means that if I make multiple getdents, someone may modify directory
content between the calls so that the file pointer sits bewteen two records?

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost



Home | Main Index | Thread Index | Old Index