Re: [Gluster-devel] [puzzle] readv operation allocate iobuf twice

2016-07-29 Thread Mohammed Rafi K C
t; > 3.I can't figure out the benefit of presetting rsphdr and rsp_payload. > > 2016-07-12 12:38 GMT+08:00 Raghavendra Gowdappa <rgowd...@redhat.com>: >> >> - Original Message - >>> From: "Zhengping Zhou" <johnzzpcrys...@gmail.com> >>&g

Re: [Gluster-devel] [puzzle] readv operation allocate iobuf twice

2016-07-14 Thread Zhengping Zhou
.@redhat.com>: > > > - Original Message - >> From: "Zhengping Zhou" <johnzzpcrys...@gmail.com> >> To: gluster-devel@gluster.org >> Sent: Tuesday, July 12, 2016 9:28:01 AM >> Subject: [Gluster-devel] [puzzle] readv operation allocate iobuf twice >> &

Re: [Gluster-devel] [puzzle] readv operation allocate iobuf twice

2016-07-12 Thread Zhengping Zhou
engping Zhou" <johnzzpcrys...@gmail.com> >> To: gluster-devel@gluster.org >> Sent: Tuesday, July 12, 2016 9:28:01 AM >> Subject: [Gluster-devel] [puzzle] readv operation allocate iobuf twice >> >> Hi all: >> >> It is a puzzle to me that we alloca

Re: [Gluster-devel] [puzzle] readv operation allocate iobuf twice

2016-07-11 Thread Raghavendra Gowdappa
- Original Message - > From: "Zhengping Zhou" <johnzzpcrys...@gmail.com> > To: gluster-devel@gluster.org > Sent: Tuesday, July 12, 2016 9:28:01 AM > Subject: [Gluster-devel] [puzzle] readv operation allocate iobuf twice > > Hi all: > > It

[Gluster-devel] [puzzle] readv operation allocate iobuf twice

2016-07-11 Thread Zhengping Zhou
Hi all: It is a puzzle to me that we allocate rsp buffers for rspond content in function client3_3_readv, but these rsp parameters hasn't ever been saved to struct saved_frame in submit procedure. Which means the iobuf will reallocated by transport layer in function