mirror of
https://github.com/ceph/ceph
synced 2025-03-31 07:53:23 +00:00
Merge pull request #43364 from rzarzynski/wip-crimson-canceliores-on-stop
crimson/osd: cancel IO reservations on PG::stop(). Reviewed-by: Kefu Chai <tchaikov@gmail.com>
This commit is contained in:
commit
130c7261aa
@ -1153,6 +1153,8 @@ seastar::future<> PG::stop()
|
||||
{
|
||||
logger().info("PG {} {}", pgid, __func__);
|
||||
stopping = true;
|
||||
cancel_local_background_io_reservation();
|
||||
cancel_remote_recovery_reservation();
|
||||
check_readable_timer.cancel();
|
||||
renew_lease_timer.cancel();
|
||||
return osdmap_gate.stop().then([this] {
|
||||
|
Loading…
Reference in New Issue
Block a user