]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: resize should only update image size within header 6585/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 2 Nov 2015 21:50:19 +0000 (16:50 -0500)
committerAbhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Sat, 14 Nov 2015 18:39:18 +0000 (00:09 +0530)
commita3223173f85c42147ff4ced730beffe85146a4ed
tree3be606e91387f0806b7b4b86246986df8203397a
parent4ad97162026e1eb6e6e948ddf3eb39f711431e45
librbd: resize should only update image size within header

Previously, the whole RBD image format 1 header struct was
re-written to disk on a resize operation.

Fixes: #13674
Backport: infernalis, hammer, firefly
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit d5be20b6d4646284571568ab28cbf45b0729390b)
src/librbd/AsyncResizeRequest.cc