]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson: manage log submission atomicity independently of pipeline stages
authorSamuel Just <sjust@redhat.com>
Thu, 24 Oct 2024 23:39:18 +0000 (16:39 -0700)
committerSamuel Just <sjust@redhat.com>
Wed, 11 Dec 2024 02:02:01 +0000 (18:02 -0800)
commit54a42bef571b3d83a81e02595dd40edcf5054245
tree90bea0ae3c13211b3161e42e99ecd86b98f7b504
parent5021e87338c7297959e79ca5d65960ddbc048106
crimson: manage log submission atomicity independently of pipeline stages

It's important to construct and submit log entries atomically because
the submission order needs to match the entry numbering.  Previously,
this occurred under the pg-wide exclusive process stage.  Shortly, each
obc will have its own process stage, so we need to ensure that atomicity
seperately from the pipeline stages.  Introduce a simple mutex.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/osd_operations/snaptrim_event.cc
src/crimson/osd/pg.cc
src/crimson/osd/pg.h