<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>hi,</div><div>&nbsp; &nbsp; 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.</div><div>&nbsp; &nbsp; 1. When I copyed a non-empty file to /mnt/glusterfs, it was failed.</div><div>&nbsp; &nbsp; 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".</div><div>&nbsp; &nbsp; 3. I have notice the bug in GlsuterFS 3.3.*, <a href="https://bugzilla.redhat.com/show_bug.cgi?id=837495," _src="https://bugzilla.redhat.com/show_bug.cgi?id=837495,">https://bugzilla.redhat.com/show_bug.cgi?id=837495,</a>&nbsp;it was fixed??</div><div>&nbsp; &nbsp; 4, Storage.linux-aio on would exist the same error.</div></div><br><br><span title="neteasefooter"><p>&nbsp;</p></span>