mirror of
https://github.com/ceph/ceph
synced 2025-01-02 00:52:22 +00:00
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:
parent
ad8d0e4881
commit
25eaf0a662
@ -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>());
|
||||
|
Loading…
Reference in New Issue
Block a user