summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2019-06-19 16:33:31 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-07-09 16:30:25 +0200
commit6a6c6def42469ce08023458ba439a8207fe87ae4 (patch)
tree4830179ecafcd96423feefb4a60ffa3dd5df37d5 /block
parentxprtrdma: Streamline rpcrdma_post_recvs (diff)
downloadlinux-6a6c6def42469ce08023458ba439a8207fe87ae4.tar.xz
linux-6a6c6def42469ce08023458ba439a8207fe87ae4.zip
xprtrdma: Refactor chunk encoding
Clean up. Move the "not present" case into the individual chunk encoders. This improves code organization and readability. The reason for the original organization was to optimize for the case where there there are no chunks. The optimization turned out to be inconsequential, so let's err on the side of code readability. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions