summaryrefslogtreecommitdiffstats
path: root/transport/socket/src/socket.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-05-20 13:36:01 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-05-20 12:09:26 -0700
commitd734a305d534d6430d1401ec358100f28547ca09 (patch)
treec8bb461b895b1f7eb5f23166b614617d1d0b80c5 /transport/socket/src/socket.c
parent0961d301dd74a133a16425b10be02787a499e453 (diff)
add 'non-blocking-io' to the options array in sockets.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'transport/socket/src/socket.c')
-rw-r--r--transport/socket/src/socket.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/transport/socket/src/socket.c b/transport/socket/src/socket.c
index 7bb32a51216..4af064f3b7b 100644
--- a/transport/socket/src/socket.c
+++ b/transport/socket/src/socket.c
@@ -1381,6 +1381,9 @@ struct volume_options options[] = {
.type = GF_OPTION_TYPE_STR
},
+ { .key = {"non-blocking-io"},
+ .type = GF_OPTION_TYPE_BOOL
+ },
{ .key = {NULL} }
};