]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/object_context: make obc interruptible
authorXuehan Xu <xxhdx1985126@gmail.com>
Fri, 11 Sep 2020 11:01:52 +0000 (19:01 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 15 Sep 2020 08:48:27 +0000 (16:48 +0800)
commitaeb20dd2f5d757d1aa377022977d2277f4eac8ad
treee48ff7546ed9d2d6b526039fc92d4940c4c83d06
parentef72fc736d05b1a65b2b61729eaf96eed6f03ea3
crimson/object_context: make obc interruptible

* add tri_mutex::abort() to pass given exception to all waiters
* add ObjectContext::interrupt() to abort all pending consumers
  of current object context

Fixes: https://tracker.ceph.com/issues/47311
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/common/tri_mutex.h
src/crimson/osd/object_context.h
src/crimson/osd/recovery_backend.cc