]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os: consolidate context handling in FuturizedStore
authorSamuel Just <sjust@redhat.com>
Tue, 13 Sep 2022 05:14:16 +0000 (22:14 -0700)
committerSamuel Just <sjust@redhat.com>
Tue, 27 Sep 2022 02:35:41 +0000 (19:35 -0700)
commit2b5c471913990fd53d9b5d4fff3445cbd009dafd
tree9d740a209dc70166a7d317c7fad62b3719a7eab3
parent2c1f213bfa8ae54c0f8337b7471d0bfa47a08b0f
crimson/os: consolidate context handling in FuturizedStore

Context handling is pretty uniform accross all implementations,
may as well do it in the same place.

ShardedStoreProxy would need to handle it otherwise, since
callbacks need to be handled on the core do_transaction is
invoked on.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/alienstore/alien_store.cc
src/crimson/os/alienstore/alien_store.h
src/crimson/os/cyanstore/cyan_store.cc
src/crimson/os/cyanstore/cyan_store.h
src/crimson/os/futurized_store.h
src/crimson/os/seastore/seastore.cc
src/crimson/os/seastore/seastore.h