Signed-off-by: Sage Weil <sage@redhat.com>
f(bluestore_cache_onode) \
f(bluestore_cache_other) \
f(bluestore_fsck) \
+ f(bluestore_txc) \
f(bluefs) \
f(buffer_anon) \
f(buffer_meta) \
MEMPOOL_DEFINE_OBJECT_FACTORY(BlueStore::SharedBlob, bluestore_shared_blob,
bluestore_cache_other);
+// bluestore_txc
+MEMPOOL_DEFINE_OBJECT_FACTORY(BlueStore::TransContext, bluestore_transcontext,
+ bluestore_txc);
+
+
// kv store prefixes
const string PREFIX_SUPER = "S"; // field -> value
const string PREFIX_STAT = "T"; // field -> value(int64 array)
typedef boost::intrusive_ptr<OpSequencer> OpSequencerRef;
struct TransContext : public AioContext {
+ MEMPOOL_CLASS_HELPERS();
+
typedef enum {
STATE_PREPARE,
STATE_AIO_WAIT,