]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/transaction_manager: fix write pipeline phase leak 57513/head
authorXuehan Xu <xuxuehan@qianxin.com>
Wed, 24 Apr 2024 09:00:53 +0000 (17:00 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 16 May 2024 11:52:33 +0000 (14:52 +0300)
commit9a3516532d1108758c32795f7f3c1b147c4638fb
tree11f2211a7d81d96616c2780cf5e52e081626e779
parent0c7e7c0d119197fe4dc956046e4e3cc87821f1f8
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>
(cherry picked from commit 6a6f340c09a8dfe4565e298db11a30345ef7f82f)
src/crimson/os/seastore/transaction.h
src/crimson/os/seastore/transaction_manager.cc