[Gluster-devel] client3_3_writev_cbk - rsp

Rudra Siva rudrasiva11 at gmail.com
Sat Nov 15 22:47:18 UTC 2014


same goes for fsync.

On Sat, Nov 15, 2014 at 5:36 PM, Rudra Siva <rudrasiva11 at gmail.com> wrote:
> 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



-- 
-Siva


More information about the Gluster-devel mailing list