]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/transaction_manager: fix write pipeline phase leak 57129/head
authorXuehan Xu <xuxuehan@qianxin.com>
Wed, 24 Apr 2024 09:00:53 +0000 (17:00 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Mon, 29 Apr 2024 08:03:37 +0000 (16:03 +0800)
commit6a6f340c09a8dfe4565e298db11a30345ef7f82f
tree21d7127aaa2e138cf71c82c2243af918cce56ac6
parent1b90d6c125bdf52e0e58c6791b5bcf14b77e4e01
crimson/os/seastore/transaction_manager: fix write pipeline phase leak

At present, if a transaction gets interrupted right after it enters
WritePipeline::ReserveProjectedUsage and before any later continuations
get executed, WritePipeline::ReserveProjectedUsage will be locked
forever.

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/transaction.h
src/crimson/os/seastore/transaction_manager.cc