diff options
author | Vijay Bellur <vbellur@redhat.com> | 2013-03-20 11:06:19 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-05-28 10:05:28 -0700 |
commit | ea982a764b7cb447eb866129fef2cfafaa48eb6a (patch) | |
tree | 63aa9407f9184d163e0cc2f008fe243698ca5e05 /xlators/mgmt/glusterd/src/glusterd-utils.c | |
parent | 19a6b34358cb2b12aec0eba1659fca65a50aa3a3 (diff) |
performance/write-behind: Enable write-behind when strict_O_DIRECT is not set.
When open() with O_DIRECT happens, write-behind was being disabled for the
fd irrespective of strict_O_DIRECT option. This commit disables write-behind
only when strict_O_DIRECT is enabled.
Change-Id: Ieef180e52910c3bf64d46b26b0e5dc3b8542f6d2
BUG: 923556
Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Reviewed-on: http://review.gluster.org/4697
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
0 files changed, 0 insertions, 0 deletions