]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore: fix bug of Transaction::is_retired
authorZhang Song <zhangsong325@gmail.com>
Wed, 13 Jul 2022 12:45:05 +0000 (20:45 +0800)
committerZhang Song <zhangsong325@gmail.com>
Wed, 13 Jul 2022 12:45:05 +0000 (20:45 +0800)
commitee9195d09efa6773a1abe2390de9d29543228c81
treedf01735c4f9afb9ad57cb4382eeeb8f240990c1e
parent8189cf5986c29ec3dc9a63ffa55f21852fcd0a2c
crimson/os/seastore: fix bug of Transaction::is_retired

The retired extent may exist as a RetiredExtentPlaceholder, casting
this extent to LogicalCachedExtent will cause undefined behavior.

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
src/crimson/os/seastore/transaction.h
src/crimson/os/seastore/transaction_manager.h