explicit SnapSetContext(const hobject_t& o) :
oid(o), ref(0), registered(false), exists(true) { }
};
+
+inline std::ostream& operator<<(std::ostream& out, const SnapSetContext& ssc)
+{
+ return out << "ssc(" << ssc.oid << " snapset: " << ssc.snapset
+ << " ref: " << ssc.ref << " registered: "
+ << ssc.registered << " exists: " << ssc.exists << ")";
+}
+
struct ObjectContext;
typedef std::shared_ptr<ObjectContext> ObjectContextRef;
}
/// in-progress copyfrom ops for this object
- bool blocked:1;
- bool requeue_scrub_on_unblock:1; // true if we need to requeue scrub on unblock
-
+ bool blocked;
+ bool requeue_scrub_on_unblock; // true if we need to requeue scrub on unblock
};
inline std::ostream& operator<<(std::ostream& out, const ObjectState& obs)