]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: add _with_lock method to obc 38378/head
authorXuehan Xu <xxhdx1985126@gmail.com>
Wed, 2 Dec 2020 02:30:07 +0000 (10:30 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Wed, 2 Dec 2020 02:34:48 +0000 (10:34 +0800)
commitd629f18088da6a371079ec8e22329b535f5c5e13
treee33ccb907f094e5ecfaf6fe7db6d99340271f0f9
parenteffe296b42f30b40e5a84ea6fdb50e4ee7d3db30
crimson/osd: add _with_lock method to obc

this is modeling the seastar::with_lock() method with the exception
that obc is also captured in the finally block.

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/crimson/osd/object_context.h