]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore: set journal_tail_target during replay
authorXuehan Xu <xxhdx1985126@gmail.com>
Fri, 13 Aug 2021 13:57:27 +0000 (21:57 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Wed, 8 Sep 2021 03:03:01 +0000 (11:03 +0800)
commitd9f8c01c03a302a2a5873738c9c0a2805eb7d4f7
tree2969e7bf5219b0602536f9614ea3bc2a4e3f0df7
parentb2a0e10b05ca3e2f29ea2bb6ad2971dc72bed58a
crimson/os/seastore: set journal_tail_target during replay

This is a bug fix, otherwise if crimson-osd boot up multiple times without
filling up more than one segment, segments may be used up and can't be
reclaimed as they would have the same journal tail

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