]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/segment_cleaner: track projected usage for in progress operations
authorSamuel Just <sjust@redhat.com>
Wed, 29 Sep 2021 01:43:02 +0000 (18:43 -0700)
committerSamuel Just <sjust@redhat.com>
Wed, 29 Sep 2021 07:09:09 +0000 (00:09 -0700)
commitfbd30a4b0b7dd473249a0fe385dcef10b93b9069
treed01375b8ac0e5447aba313fc2f32835c2125698f
parentada436ff233c685f1096dfe13af701001d3143cf
crimson/os/seastore/segment_cleaner: track projected usage for in progress operations

We're going to want to permit multiple transactions to be writing
concurrently.  Replace await_hard_limits() with a mechanism that
remembers bytes that will be used by in-progress operations.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/segment_cleaner.h
src/crimson/os/seastore/transaction.h
src/crimson/os/seastore/transaction_manager.cc