]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: refactor OperationRepeatSequencer
authorKefu Chai <kchai@redhat.com>
Mon, 22 Feb 2021 02:17:23 +0000 (10:17 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 24 Feb 2021 08:53:07 +0000 (16:53 +0800)
commite3fca0ea7c63e45615d8d73f5786706a0a9be6cb
tree425485c0590e32231dcfae445d122ca3fed259ce
parent2483a486b85621cb7a1ef19eeeac4dec7d997deb
crimson/osd: refactor OperationRepeatSequencer

* extract the OpSequencer out from OperationRepeatSequencer
* refactor OpSequencer so we don't need to track the ops using a map,
  only track the last op and last pg interval for better performance
  and smaller memory footprint.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd_connection_priv.h
src/crimson/osd/osd_operation.h
src/crimson/osd/osd_operation_sequencer.h
src/crimson/osd/osd_operations/client_request.cc
src/crimson/osd/osd_operations/client_request.h