]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson: retrieve object state once per MOSDOp.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 29 Apr 2019 12:48:27 +0000 (14:48 +0200)
committerKefu Chai <kchai@redhat.com>
Tue, 7 May 2019 10:04:53 +0000 (18:04 +0800)
commitd86ffe51aae3d7494ad6d6f0a5fa24318d90bc21
tree72271561256fc71f73931a28053f7c642f8f0037
parentde5e5160caf6e9737cbf1984a96cc84730fe168c
crimson: retrieve object state once per MOSDOp.

Justification behind the change is behaviour of classical OSD.
It calls PrimaryLogPG::find_object_context() far before going
through OSDOps in ::do_osd_ops().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/pg.cc
src/crimson/osd/pg_backend.cc