diff options
author | Josh Durgin <josh.durgin@dreamhost.com> | 2011-11-21 21:04:42 (GMT) |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-05-14 17:12:52 (GMT) |
commit | 77dfe99fe3cb0b2b0545e19e2d57b7a9134ee3c0 (patch) | |
tree | ad80a6b7d9a9be1880c44e3a91f6d42f674c2fd6 /Documentation/SubmitChecklist | |
parent | 403f24d3d51760a8b9368d595fa5f48c309f1a0f (diff) | |
download | linux-fsl-qoriq-77dfe99fe3cb0b2b0545e19e2d57b7a9134ee3c0.tar.xz |
rbd: store snapshot id instead of index
When a device was open at a snapshot, and snapshots were deleted or
added, data from the wrong snapshot could be read. Instead of
assuming the snap context is constant, store the actual snap id when
the device is initialized, and rely on the OSDs to signal an error
if we try reading from a snapshot that was deleted.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Reviewed-by: Alex Elder <elder@dreamhost.com>
Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Diffstat (limited to 'Documentation/SubmitChecklist')
0 files changed, 0 insertions, 0 deletions