]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore: add collection ordering 42103/head
authorSamuel Just <sjust@redhat.com>
Tue, 29 Jun 2021 17:06:45 +0000 (10:06 -0700)
committerSamuel Just <sjust@redhat.com>
Tue, 29 Jun 2021 17:41:15 +0000 (10:41 -0700)
commit95ace7e7000950a4c97feac009bdb082aa30d21f
treef8ce0867474b9f8e0ae345f2274c7a5ee732f9f0
parentc96faa8e8b6bfd29f236f0bec7c529d51036d3f8
crimson/os/seastore: add collection ordering

Adds a mutex to SeastoreCollection which ensures that transactions are
ordered on a per-collection basis.  Future optimizations could enable
the transaction construction phase to be pipelined for a single collection,
but would require correctly handling the case where a more recently
submitted transaction encounters a conflict.

Fixes: https://tracker.ceph.com/issues/51358
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/ordering_handle.h
src/crimson/os/seastore/seastore.cc
src/crimson/os/seastore/seastore.h
src/crimson/os/seastore/transaction_manager.cc