diff options
| author | Amar Tumballi <amar@gluster.com> | 2011-08-28 12:53:12 +0530 | 
|---|---|---|
| committer | Anand Avati <avati@gluster.com> | 2011-09-07 10:48:29 -0700 | 
| commit | f78c8253d7fb75762effcf64683cbce10783a55b (patch) | |
| tree | 8a0280da8fb69502383334cd16048e9d96145841 /xlators/protocol/server/src/server-handshake.c | |
| parent | 10d49cf0878e96301ea366276e27e91b5527483e (diff) | |
glusterfs protocol: bring in variable sized iobuf support
is a step towards reducing glusterfs memory footprint. should also
help a bit in overall performance.
Change-Id: I074d5813602b2c960d59562e792b3dc6e43d2f42
BUG: 3475
Reviewed-on: http://review.gluster.com/322
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators/protocol/server/src/server-handshake.c')
| -rw-r--r-- | xlators/protocol/server/src/server-handshake.c | 9 | 
1 files changed, 6 insertions, 3 deletions
diff --git a/xlators/protocol/server/src/server-handshake.c b/xlators/protocol/server/src/server-handshake.c index fc22fffe4f0..694853417d6 100644 --- a/xlators/protocol/server/src/server-handshake.c +++ b/xlators/protocol/server/src/server-handshake.c @@ -326,7 +326,8 @@ fail:          rsp.op_ret   = ret;          server_submit_reply (NULL, req, &rsp, NULL, 0, NULL, -                             (gfs_serialize_t)xdr_serialize_getspec_rsp); +                             (gfs_serialize_t)xdr_serialize_getspec_rsp, +                             (xdrproc_t)xdr_gf_getspec_rsp);          return 0;  } @@ -620,7 +621,8 @@ fail:          rsp.op_errno = gf_errno_to_error (op_errno);          server_submit_reply (NULL, req, &rsp, NULL, 0, NULL, -                             (gfs_serialize_t)xdr_serialize_setvolume_rsp); +                             (gfs_serialize_t)xdr_serialize_setvolume_rsp, +                             (xdrproc_t)xdr_gf_setvolume_rsp);          if (args.dict.dict_val) @@ -650,7 +652,8 @@ server_ping (rpcsvc_request_t *req)          rsp.op_ret = 0;          server_submit_reply (NULL, req, &rsp, NULL, 0, NULL, -                             xdr_serialize_common_rsp); +                             xdr_serialize_common_rsp, +                             (xdrproc_t)xdr_gf_common_rsp);          return 0;  }  | 
