Re: [RFC] Union mount readdir support in glibc

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

 



> >>> Actually, do we really need it other than to 0 and to current position
> >>> (i.e. full rewind and a no-op)?
> >>>       
> >> Ever heard of the little function "telldir"?
> >>     
> >
> > Actually, telldir/seekdir is already broken for some filesystems (NFS
> > comes to mind).  POSIX was really crazy to require a working seekdir
> > implementation, and userspace should quickly start _not_ using it.
> >
> >   
> 
> What makes you think that telldir/seekdir don't work for NFS?

  http://thread.gmane.org/gmane.comp.file-systems.fuse.devel/5124

It turned out to be due to incorrect NFS behavior if files are removed
between telldir and seekdir.

So it does work sometimes, but does not seem to correctly handle all
cases.  I have no idea if this is an issue in the server, the client
or the protocol.

What is certain, is that seekdir/telldir is a really bad interface,
that just makes life difficult for filesystem implementors, without
any real gain.  It deserves to die.

Miklos
--
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