diff options
author | Poornima G <pgurusid@redhat.com> | 2019-03-24 09:40:50 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2019-03-29 02:21:05 +0000 |
commit | 6ae36418834ddcd9f68fe7ef9b09b077cdf68ca3 (patch) | |
tree | bce05387829f7fb768c564f1a688821b1eace1ad /contrib/mount | |
parent | 108e4f3481225f98c12f7c283e1ef0388863cf8b (diff) |
client-rpc: Fix the payload being sent on the wire
The fops allocate 3 kind of payload(buffer) in the client xlator:
- fop payload, this is the buffer allocated by the write and put fop
- rsphdr paylod, this is the buffer required by the reply cbk of
some fops like lookup, readdir.
- rsp_paylod, this is the buffer required by the reply cbk of fops like
readv etc.
Currently, in the lookup and readdir fop the rsphdr is sent as payload,
hence the allocated rsphdr buffer is also sent on the wire, increasing
the bandwidth consumption on the wire.
With this patch, the issue is fixed.
Fixes: bz#1692093
Change-Id: Ie8158921f4db319e60ad5f52d851fa5c9d4a269b
Signed-off-by: Poornima G <pgurusid@redhat.com>
Diffstat (limited to 'contrib/mount')
0 files changed, 0 insertions, 0 deletions