Re: [fuse-devel] Changes in 4.7.

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

 



On Tue, May 31, 2016 at 06:25:24PM +0200, Stef Bon wrote:

> I've been thinking about the non serialized readdirs. I do not understand.
> Readdirs have to be serialized, since the offset of the next readdir
> (belonging to the opendir) is known when the current readdir is
> finished:
> "start where current left".

They are serialized per struct file (and so'd lseek() on them, for that
matter).  So the state that is associated with an opened file is just
fine; it's modifiable state associated with directory itself, and shared
between all opened file that would be a problem.

IOW, they can do readdir in parallel exactly in the cases when lseek
done by one of them would not affect another.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux