summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client3_1-fops.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-10-03 15:41:04 +0530
committerVijay Bellur <vijay@gluster.com>2011-10-10 03:57:10 -0700
commit18071a240bd4c0d92f583632a7cdef1cd32bbe62 (patch)
tree6375ce6cfc20905d35ee6c04a17814545e3b46fd /xlators/protocol/client/src/client3_1-fops.c
parent33ac0c6b48ccbaf357644710c804e55bdfdb12da (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/555 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators/protocol/client/src/client3_1-fops.c')
-rw-r--r--xlators/protocol/client/src/client3_1-fops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/protocol/client/src/client3_1-fops.c b/xlators/protocol/client/src/client3_1-fops.c
index e9c5d626bb4..6f93eccc0d0 100644
--- a/xlators/protocol/client/src/client3_1-fops.c
+++ b/xlators/protocol/client/src/client3_1-fops.c
@@ -121,7 +121,7 @@ out:
iobuf_unref (iobuf);
- return 0;
+ return ret;
}
/* CBK */
@@ -3578,7 +3578,6 @@ client3_1_writev (call_frame_t *frame, xlator_t *this, void *data)
ret = client_submit_vec_request (this, &req, frame, conf->fops, GFS3_OP_WRITE,
client3_1_writev_cbk, args->vector,
args->count, args->iobref,
-
(xdrproc_t)xdr_gfs3_write_req);
if (ret)
goto unwind;