mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
librbd: allow ProgressCtx::update_progress to cancel maintenance ops
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
parent
cfb69b81e3
commit
026df758ae
@ -93,7 +93,10 @@ void AsyncObjectThrottle<T>::start_next_op() {
|
||||
done = true;
|
||||
}
|
||||
if (m_prog_ctx != NULL) {
|
||||
m_prog_ctx->update_progress(ono, m_end_object_no);
|
||||
r = m_prog_ctx->update_progress(ono, m_end_object_no);
|
||||
if (r < 0) {
|
||||
m_ret = r;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user