[Gluster-devel] write-behind bug with ftruncate
Emmanuel Dreyfus
manu at netbsd.org
Sun Jul 17 12:13:38 UTC 2011
Emmanuel Dreyfus <manu at netbsd.org> wrote:
> The sin is therefore to set FATTR_ATIME | FATTR_MTIME, while glusterfs
> assumes this is a ftruncate() calls because only FATTR_SIZE is set. Am I
> correct?
I "fixed" NetBSD FUSE so that FATTR_ATIME | FATTR_MTIME are removed when
FATTR_SIZE is set but not FATTR_UID, FATTR_GID and FATTR_MODE. It seems
to work.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org
More information about the Gluster-devel
mailing list