]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore: lazy backref tree updates for extent (re)placement
authorXuehan Xu <xxhdx1985126@gmail.com>
Thu, 10 Mar 2022 02:55:38 +0000 (10:55 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Sat, 7 May 2022 04:51:29 +0000 (12:51 +0800)
commit34792d876ef2b4439e33ab34c4341b844eb313c9
tree0683f321bc61580e9569691243821becedaf5039
parent2da0c7b97c1234a82eeb4c9c22e3806ab1ad44e3
crimson/os/seastore: lazy backref tree updates for extent (re)placement

Buffer all backref updates(allocs/releases) in Cache.
Also, organize them into an intrusive set, so later backref query can be done efficiently
Backref query should always be first applied to this set and then to the backref manager

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/cache.h
src/crimson/os/seastore/seastore.cc
src/crimson/os/seastore/seastore_types.h
src/crimson/os/seastore/transaction_manager.cc
src/crimson/os/seastore/transaction_manager.h