summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2016-05-20 01:09:40 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-05-31 12:00:59 -0700
commite341d2827800e32997f888668597785178a40626 (patch)
tree5031794e3d3570c7ec359a100a8d74bda0f64566 /xlators/protocol/client
parentbe00012e7be55d25870411f3e975db9a8e19c70a (diff)
protocol/client: Reflect readv/writev changes in filter-O_DIRECT description
Commit 74837896c38bafdd862f164d147b75fcbb619e8f introduced filtering of O_DIRECT option even for readv/writev but the option description is not updated. Change-Id: I7c2b69fdb496ca27d1b06a458f2f3eab0d16d417 BUG: 1322214 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/14441 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/protocol/client')
-rw-r--r--xlators/protocol/client/src/client.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c
index 3cb5e231fbe..a48104fd467 100644
--- a/xlators/protocol/client/src/client.c
+++ b/xlators/protocol/client/src/client.c
@@ -3034,10 +3034,11 @@ struct volume_options options[] = {
{ .key = {"filter-O_DIRECT"},
.type = GF_OPTION_TYPE_BOOL,
.default_value = "disable",
- .description = "If enabled, in open() and creat() calls, O_DIRECT "
- "flag will be filtered at the client protocol level so server will "
- "still continue to cache the file. This works similar to NFS's "
- "behavior of O_DIRECT",
+ .description = "If enabled, in open/creat/readv/writev fops, "
+ "O_DIRECT flag will be filtered at the client protocol level so "
+ "server will still continue to cache the file. This works similar to "
+ "NFS's behavior of O_DIRECT. Anon-fds can choose to readv/writev "
+ "using O_DIRECT",
},
{ .key = {"send-gids"},
.type = GF_OPTION_TYPE_BOOL,