[Gluster-devel] How to fix wrong telldir/seekdir usage

Emmanuel Dreyfus manu at netbsd.org
Mon Sep 15 17:57:21 UTC 2014


J. Bruce Fields <bfields at fieldses.org> wrote:

> 4) Report this as a bug to NetBSD.
> 
> You may be correct about the letter of the spec, but specs don't
> necessarily capture all requirements.  And as others say NFS server code
> at least will require that these actually work across reboots.
> Filesystems go to great lengths to make that work.

If you intent GlusterFS to be portable, then you will not be able to
"fix" all non Linux systems. You have to avoid wandering outside of area
specified by POSIX. This is a good practice anyway since you are never
sure that Linux itself will stick to a given unspecified behavior.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org


More information about the Gluster-devel mailing list