Re: client3_3_writev_cbk - rsp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/16/2014 04:17 AM, Rudra Siva wrote:
same goes for fsync.

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


Thanks for figuring this out. Would it be possible for you to send a patch to address this?

Regards,
Vijay

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux