]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: not allowed to restore an image when it is being deleted 24078/head
authorsongweibin <song.weibin@zte.com.cn>
Mon, 30 Jul 2018 08:23:36 +0000 (16:23 +0800)
committersongweibin <song.weibin@zte.com.cn>
Thu, 20 Sep 2018 02:09:23 +0000 (10:09 +0800)
commitfe08b1140871ce213976adcfcd59f4fd57914ebc
tree715d04880a099582b8244fdf61058569d4c795cf
parent20cfc0212a2df0ac787b639d27d141b6036432eb
rbd: not allowed to restore an image when it is being deleted

Add a state for trash image.
Fixes: http://tracker.ceph.com/issues/25346
Signed-off-by: songweibin <song.weibin@zte.com.cn>
(cherry picked from commit 94140df624f33406c709dea270f07ed6ad6edac4)
src/cls/rbd/cls_rbd.cc
src/cls/rbd/cls_rbd_client.cc
src/cls/rbd/cls_rbd_client.h
src/cls/rbd/cls_rbd_types.cc
src/cls/rbd/cls_rbd_types.h
src/librbd/internal.cc