]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/common/smp_helpers: cleanup sharded_map_seq
authorMatan Breizman <mbreizma@redhat.com>
Mon, 23 Jun 2025 10:18:23 +0000 (10:18 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Mon, 23 Jun 2025 10:38:49 +0000 (10:38 +0000)
commit87d20855809d29d675b44f0f97a2ca859f5bf431
tree098ca12f0d40e80f9114ebd610074958e5112a64
parent0b686b442604375aaf2350bab420ee51af1529d3
crimson/common/smp_helpers: cleanup sharded_map_seq

Let PGShardManager::invoke_on_each_shard_seq pass the local shard_services
instance instead of using an additional helper.

The downside of dropping the generic sharded_map_seq helper is that it is
able to support *any* (seastar::)sharded object. However, as shard_services
is the only user of it - directly using the local instance without the
helper seems easier to read.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/admin/osd_admin.cc
src/crimson/common/smp_helpers.h
src/crimson/osd/pg_shard_manager.h