Not necessary--the backend should manage the lifecycle. We just own
one ref anyway.
Signed-off-by: Sage Weil <sage@redhat.com>
PGRef pgref(this);
// keep pg ref around until txn completes to avoid any issues
// with Sequencer lifecycle (seen w/ filestore).
- t.register_on_applied(new ContainerContext<PGRef>(pgref));
t.register_on_commit(new ContainerContext<PGRef>(pgref));
t.register_on_applied(new ContainerContext<PGRef>(pgref));
int r = osd->store->queue_transaction(