#ifndef ECTRANSACTION_H
#define ECTRANSACTION_H
-#include "OSD.h"
-#include "PGBackend.h"
#include "ECUtil.h"
+#include "ExtentCache.h"
#include "erasure-code/ErasureCodeInterface.h"
+#include "os/Transaction.h"
#include "PGTransaction.h"
-#include "ExtentCache.h"
namespace ECTransaction {
struct WritePlan {
const std::map<hobject_t,extent_map> &partial_extents,
std::vector<pg_log_entry_t> &entries,
std::map<hobject_t,extent_map> *written,
- std::map<shard_id_t, ObjectStore::Transaction> *transactions,
+ std::map<shard_id_t, ceph::os::Transaction> *transactions,
std::set<hobject_t> *temp_added,
std::set<hobject_t> *temp_removed,
DoutPrefixProvider *dpp,
#include <optional>
#include "common/hobject.h"
-#include "osd/osd_types.h"
+#ifndef WITH_SEASTAR
#include "osd/osd_internal_types.h"
+#else
+#include "crimson/osd/object_context.h"
+#endif
#include "common/interval_map.h"
#include "common/inline_variant.h"