summaryrefslogtreecommitdiff
path: root/drivers/target/sbp/Kconfig
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2011-11-22 02:14:25 (GMT)
committerSage Weil <sage@inktank.com>2012-07-31 01:15:36 (GMT)
commite88a36ec961b8c1899c59c5e4ae35a318c0209d3 (patch)
tree1a893aa5764c6f1630b8236b04e7a6616de0e676 /drivers/target/sbp/Kconfig
parent048a9d2d069e3d63c9169de82649be00de65a8f6 (diff)
downloadlinux-e88a36ec961b8c1899c59c5e4ae35a318c0209d3.tar.xz
rbd: return errors for mapped but deleted snapshot
When a snapshot is deleted, the OSD will return ENOENT when reading from it. This is normally interpreted as a hole by rbd, which will return zeroes. To minimize the time in which this can happen, stop requests early when we are notified that our snapshot no longer exists. [elder@inktank.com: updated __rbd_init_snaps_header() logic] Signed-off-by: Josh Durgin <josh.durgin@inktank.com> Reviewed-by: Alex Elder <elder@inktank.com>
Diffstat (limited to 'drivers/target/sbp/Kconfig')
0 files changed, 0 insertions, 0 deletions