]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/async_cleaner: fix and improve update_journal_tails() 47239/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 25 Jul 2022 08:28:42 +0000 (16:28 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 25 Jul 2022 14:23:00 +0000 (22:23 +0800)
commit5aa8187d56fa8cacad9b5348026d8a409c51454b
treedd0069af9fb1fdd587e37eb6cef6b168b23fa46c
parent2c1e37d25bfd7e8a5acd926c792a0231dbf1ea06
crimson/os/seastore/async_cleaner: fix and improve update_journal_tails()

* Accept JOURNAL_SEQ_NULL dirty_tail when it is pending.
* Enforce monotone increasing to the journal tails.
* Enforce journal tails to be always behind the journal head.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/async_cleaner.cc
src/crimson/os/seastore/async_cleaner.h
src/crimson/os/seastore/transaction_manager.cc