[Gluster-devel] client3_3_writev_cbk - rsp

Rudra Siva rudrasiva11 at gmail.com
Sat Nov 15 22:36:56 UTC 2014


Hi,

In adding a new FOP and using writev as a reference, this may not be correct -

https://github.com/gluster/glusterfs/blob/master/xlators/protocol/client/src/client-rpc-fops.c

ret = xdr_to_generic (*iov, &rsp, (xdrproc_t)xdr_gfs3_truncate_rsp);

should probably be:

ret = xdr_to_generic (*iov, &rsp, (xdrproc_t)xdr_gfs3_write_rsp);

Presently the routines seem to be the same but if they diverge this
can be a problem.

-- 
-Siva


More information about the Gluster-devel mailing list