]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson: use gate per shard for AlienStore and OSD
authorNitzan Mordechai <nmordech@redhat.com>
Thu, 1 Aug 2024 10:41:25 +0000 (10:41 +0000)
committerNitzan Mordechai <nmordech@redhat.com>
Wed, 28 Aug 2024 12:47:14 +0000 (12:47 +0000)
commit9fc02b203d5ea1f49e3fc29b07899f1418ffe8f2
tree2eb77016d1691604471e2b3539c8f322e8f10f80
parentdb4959e44f0252a53b4d8688fbf88b3dda70ea12
crimson: use gate per shard for AlienStore and OSD

This change modifies AlienStore and OSD to use a gate per seastar
shard instead of a shared gate.
It introduces a new `gate_per_shard` class in `Gated` to manage
a vector of gates, ensuring proper gate handling across shards.

Fixes: https://tracker.ceph.com/issues/64332
Signed-off-by: NitzanMordhai <nmordech@redhat.com>
src/crimson/common/gated.h
src/crimson/os/alienstore/alien_store.cc
src/crimson/os/alienstore/alien_store.h
src/crimson/osd/osd.cc
src/crimson/osd/osd.h