transaction_interruptor includes transaction and vice verca.
With the previous commits in this PR, we can not drop transaction
from including transaction_interruptor.
* move interrupt_cond_t to transaction_interruptor.
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
segment_manager/block.cc
transaction_interruptor.cc
transaction_manager.cc
- transaction.cc
cache.cc
extent_pinboard.cc
root_block.cc
+++ /dev/null
-#include "transaction.h"
-#include "crimson/common/interruptible_future.h"
-
-namespace crimson::interruptible {
-template
-thread_local interrupt_cond_t<::crimson::os::seastore::TransactionConflictCondition>
-interrupt_cond<::crimson::os::seastore::TransactionConflictCondition>;
-}
#include "crimson/os/seastore/ordering_handle.h"
#include "crimson/os/seastore/root_block.h"
#include "crimson/os/seastore/seastore_types.h"
-#include "crimson/os/seastore/transaction_interruptor.h"
namespace crimson::os::seastore {
#include "crimson/os/seastore/transaction.h"
+namespace crimson::interruptible {
+template
+thread_local interrupt_cond_t<::crimson::os::seastore::TransactionConflictCondition>
+interrupt_cond<::crimson::os::seastore::TransactionConflictCondition>;
+}
+
namespace crimson::os::seastore {
bool TransactionConflictCondition::is_conflicted() const