From e341d2827800e32997f888668597785178a40626 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Fri, 20 May 2016 01:09:40 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/14441 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Niels de Vos Reviewed-by: Jeff Darcy --- xlators/protocol/client/src/client.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'xlators/protocol/client/src/client.c') 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, -- cgit