]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - net/ceph/messenger.c
libceph: handle zero-length data items
authorIlya Dryomov <idryomov@gmail.com>
Mon, 22 Jan 2018 14:20:15 +0000 (15:20 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 2 Apr 2018 08:12:40 +0000 (10:12 +0200)
commit45a267dbb40f5cf15efa23ce815c4fe0b4674aa2
tree41bdddb64fbfda0b14c935ab9e047211fcdc2a43
parent7e07efb12db96c2f7c5fafeccada327d1f869e60
libceph: handle zero-length data items

rbd needs this for null copyups -- if copyup data is all zeroes, we
want to save some I/O and network bandwidth.  See rbd_obj_issue_copyup()
in the next commit.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/messenger.c