diff options
author | Amar Tumballi <amar@gluster.com> | 2011-10-10 15:03:56 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-10-10 03:58:28 -0700 |
commit | bfd45840af03d07d11e467e497181dce3cec9df2 (patch) | |
tree | 8ff9e893d545865e8608d4d8582f23a1d802cc00 /xlators/protocol | |
parent | 2ca4dbc9ce8b00e81a05b66f0020403025548888 (diff) |
libglusterfs/iobuf: increase the iobref's iobuf array size
earlier it was hardcoded to 8, now increased the size to 16.
also return the exact error code in client_submit_vec_request(),
so there will be no missing frames in case of errors.
Change-Id: I82a6ee681a543b673a7cf1a0b9c5ade2a7175ebe
BUG: 3679
Reviewed-on: http://review.gluster.com/570
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/protocol')
-rw-r--r-- | xlators/protocol/client/src/client3_1-fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client3_1-fops.c b/xlators/protocol/client/src/client3_1-fops.c index ae744269739..f826ca27eff 100644 --- a/xlators/protocol/client/src/client3_1-fops.c +++ b/xlators/protocol/client/src/client3_1-fops.c @@ -119,7 +119,7 @@ out: iobuf_unref (iobuf); - return 0; + return ret; } /* CBK */ |