]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: execute PGListener async operations in order 58840/head
authorSamuel Just <sjust@redhat.com>
Tue, 2 Jul 2024 22:27:55 +0000 (15:27 -0700)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 25 Jul 2024 07:54:19 +0000 (10:54 +0300)
commitae47b302d6495ce649efec0c0ff9e22bab65a7f0
tree6639b5c708ce2862629e3ac151226e01c08909a8
parent594424973d8da1c48fea13acf18c5f68b974e58c
crimson/osd: execute PGListener async operations in order

- Adds ShardServices::singleton_orderer_t mechanism to ensure that
  OSDSingleton calls are completed in order.
- Updates ShardServices accessors invoked from PeeringListener handlers
  to use orderer.
- Updates PGListener handlers and complete_rctx to use orderer.

Fixes: https://tracker.ceph.com/issues/66316
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit e12e92c50fdd0288a7bfcf43c60fba5b938914a1)
src/crimson/osd/pg.h
src/crimson/osd/shard_services.h