]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore: cache metadata during trimming to prevent from disk read 56250/head
authormyoungwon oh <ohmyoungwon@gmail.com>
Mon, 18 Mar 2024 06:48:07 +0000 (06:48 +0000)
committermyoungwon oh <ohmyoungwon@gmail.com>
Mon, 18 Mar 2024 11:51:34 +0000 (11:51 +0000)
commit7f253ce5aa98018b5b209fd6e062078d151ad567
tree542b8cf71b093244fc24df6348fa963a87c03637
parent3e76b89b9b38ded6ce803aa63d8d3356fdfebd77
crimson/os/seastore: cache metadata during trimming to prevent from disk read

I encountered continous disk reads during trimming even though there are sufficient
cache available, in 4K random write test with RBM (RBD).
This is because metadata is note cached if its source is background transaction
within touch_extent(). So, seastore, including the trimming process,  needs to
constantly retrieve metadata (e.g., BACKREF_LEAF).

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/crimson/os/seastore/cache.h