]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: resize should only update image size within header 6447/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 2 Nov 2015 21:50:19 +0000 (16:50 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 2 Nov 2015 21:51:34 +0000 (16:51 -0500)
commitd5be20b6d4646284571568ab28cbf45b0729390b
tree4ddbbac0885c67a9326f2febc7b267eb0145f8a6
parentefe165e3ac932751e031761b661c68c281696b32
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>
src/librbd/AsyncResizeRequest.cc