Fuse O_DIRECT support in RHEL6 kernel [message #51202] |
Fri, 07 March 2014 06:05 |
zitseng
Messages: 2 Registered: March 2014
|
Junior Member |
|
|
Hi there,
I'm trying to use Gluster to store OpenVZ containers. When the OpenVZ containers are configured to use Ploop, O_DIRECT is required to be supported by the underlying FS.
Now, I understand Fuse (and thus gluster-fuse) did not support O_DIRECT in the past. However, I notice that there is a patch to add O_DIRECT into fuse from 2.6.32-220.17.1.el6 kernel:
rpm.pbone.net/index.php3/stat/22/idpl/18082292/com/changelog .html
Using the latest testing OpenVZ kernel (wiki.openvz.org/Download/kernel/rhel6-testing/042stab085.12 ), which is supposed to be rebased from 2.6.32-431.1.2.el6. I presume that the O_DIRECT support is there. However, I tested and found it not the case. Creating files with O_DIRECT on a gluster mounted volume will fail.
Any help with what might be wrong? Thanks.
Regards,
.lzs
|
|
|