[Gluster-devel] GlusterFS linux-AIO bug

Keiviw keiviw at 163.com
Thu Jul 7 08:48:29 UTC 2016


hi,
    I have some problems about linux-AIO. I have installed GlusterFS 3.6.7 because of its stability, and mounted to /mnt/glusterfs. When I excute "vi /mnt/glusterfs/test.txt", it was ok and I wrote something successfully. But when I changed the code in xlators/protocol/client/src/client.c----open() and create() for adding O_DIRECT flag, like this, flags |= O_DIRECT. Here comes the problem.
    1. When I copyed a non-empty file to /mnt/glusterfs, it was failed.
    2. When I touch a file "test.txt", it was ok. And then "vi /mnt/glusterfs/test.txt", I wrote something unsuccessfully, the error was "E667,fsync failed".
    3. I have notice the bug in GlsuterFS 3.3.*, https://bugzilla.redhat.com/show_bug.cgi?id=837495, it was fixed??
    4, Storage.linux-aio on would exist the same error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160707/decc93da/attachment-0001.html>


More information about the Gluster-devel mailing list