rbd: allow users to remove rbd image when Ceph cluster becomes full.

Signed-off-by: Pan Liu <liupan1111@gmail.com>
This commit is contained in:
Pan Liu 2017-02-26 08:22:17 +08:00
parent ad8d0e4881
commit 25eaf0a662

View File

@ -53,6 +53,8 @@ int execute(const po::variables_map &vm) {
return r;
}
io_ctx.set_osdmap_full_try();
librbd::RBD rbd;
r = do_delete(rbd, io_ctx, image_name.c_str(),
vm[at::NO_PROGRESS].as<bool>());