]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: resize should only update image size within header 6630/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 2 Nov 2015 21:50:19 +0000 (16:50 -0500)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Wed, 18 Nov 2015 07:42:21 +0000 (13:12 +0530)
commit74cb593a3d29a5549cbe89a974aaa4814d35b8e0
tree2388075359efe18de101876b284ca8ea7594df93
parentbb2ecea240f3a1d525bcb35670cb07bd1f0ca299
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