rbd: re-submit flattened write request (part 2)
authorAlex Elder <elder@inktank.com>
Mon, 6 May 2013 22:40:33 +0000 (17:40 -0500)
committerAlex Elder <elder@inktank.com>
Mon, 13 May 2013 20:06:46 +0000 (15:06 -0500)
commit638f5abed3f7d8a7fc24087bd760fa3d99f68a39
tree6a37c092f07923eb17f36a11c1a46b40e762aca0
parentbbea1c1a31b1128d34b2b5b4f28276969cce14e9
rbd: re-submit flattened write request (part 2)

Add code to rbd_img_obj_exists_callback() to detect when a clone's
parent image has disappeared, and re-submit the original write
request in that case.

Kill off some redundant assertions.

This completes the resolution for:
    http://tracker.ceph.com/issues/3763

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c