From: Samuel Just Date: Mon, 13 Jul 2020 22:46:21 +0000 (-0700) Subject: crimson/os/seastore/transaction: add helpers X-Git-Tag: v16.1.0~1513^2~18 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=73a95b3064df08812e2b3a191bb974b11f773f4a;p=ceph.git crimson/os/seastore/transaction: add helpers Signed-off-by: Samuel Just --- diff --git a/src/crimson/os/seastore/transaction.h b/src/crimson/os/seastore/transaction.h index 61752b5dafe..659d2b6b53c 100644 --- a/src/crimson/os/seastore/transaction.h +++ b/src/crimson/os/seastore/transaction.h @@ -70,6 +70,18 @@ public: mutated_block_list.push_back(ref); write_set.insert(*ref); } + + const auto &get_fresh_block_list() { + return fresh_block_list; + } + + const auto &get_mutated_block_list() { + return mutated_block_list; + } + + const auto &get_retired_set() { + return retired_set; + } }; using TransactionRef = std::unique_ptr;