aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph/decode.h
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-21 00:32:07 -0500
committerSage Weil <sage@inktank.com>2013-05-01 21:19:15 -0700
commita9e8ba2cb3eb64cf6cfa509d096ef79bc1c827ae (patch)
tree8822a3411c5353abfdd12341a2cbd91af2ffe03b /include/linux/ceph/decode.h
parentrbd: issue a copyup for layered writes (diff)
downloadlinux-dev-a9e8ba2cb3eb64cf6cfa509d096ef79bc1c827ae.tar.xz
linux-dev-a9e8ba2cb3eb64cf6cfa509d096ef79bc1c827ae.zip
rbd: enforce parent overlap
A clone image has a defined overlap point with its parent image. That is the byte offset beyond which the parent image has no defined data to back the clone, and anything thereafter can be viewed as being zero-filled by the clone image. This is needed because a clone image can be resized. If it gets resized larger than the snapshot it is based on, the overlap defines the original size. If the clone gets resized downward below the original size the new clone size defines the overlap. If the clone is subsequently resized to be larger, the overlap won't be increased because the previous resize invalidated any parent data beyond that point. This resolves: http://tracker.ceph.com/issues/4724 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/ceph/decode.h')
0 files changed, 0 insertions, 0 deletions