]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: optimize the fast path of get_recovery_read()
authorKefu Chai <kchai@redhat.com>
Thu, 10 Sep 2020 11:38:02 +0000 (19:38 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 10 Sep 2020 13:21:39 +0000 (21:21 +0800)
commite7ed50a7187f98a28e6831899467396da7385a3e
tree1b742febdcbfc8ad874e442a3819647de5dd5034
parenta838ccca8fd093f5ff9d57fd03ed7284dbd312f9
crimson/osd: optimize the fast path of get_recovery_read()

no need to enqueue if the lock can be acquired without waiting for it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/object_context.h