[Gluster-devel] rename(2) on open file loose unsync data

Anand Avati anand.avati at gmail.com
Tue Apr 3 14:55:41 UTC 2012


On Sun, Apr 1, 2012 at 11:13 AM, Emmanuel Dreyfus <manu at netbsd.org> wrote:

> Amar Tumballi <amar at gluster.com> wrote:
>
> > Can you try with disabling 'write-behind' and 'quick-read' ? We have
> these
> > type of tests in our QA which works fine on master branch as of now. Will
> > reconfirm the behavior with master on GNU/Linux.
>
> I tracked this down to NetBSD not sending FSYNC before RENAME. The data
> is therefore not flushed at rename time. I will change that behavior in
> NetBSD FUSE to fix the issue.
>
>
I don't see that as a necessity, unless the system crashes and reboots
immediately after the rename(). Did you get to try amar's suggestions?

Avati
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20120403/54873f3f/attachment-0003.html>


More information about the Gluster-devel mailing list