ReplicatedPG::trim_object: remove unused int r; declaration

Signed-off-by: Samuel Just <sam.just@inktank.com>
RadosModel: undirty with update_object_undirty

Otherwise it doesn't behave properly with snapshots since
update_object_version doesn't add another snapshot entry.

Signed-off-by: Samuel Just <sam.just@inktank.com>
ReplicatedPG: don't leak op_t

Signed-off-by: Samuel Just <sam.just@inktank.com>
RadosModel: RollBack dirties the object

Signed-off-by: Samuel Just <sam.just@inktank.com>
fix the other PGTransaction leaks

Signed-off-by: Samuel Just <sam.just@inktank.com>
also null the op_t in close_op_ctx
;  not :
ReplicatedPG: take ReplicatedPGRef in BlessedContext

Signed-off-by: Samuel Just <sam.just@inktank.com>
ReplicatedBackend: check is_no_gen rather than is_degenerate()

Signed-off-by: Samuel Just <sam.just@inktank.com>
PG::calc_acting: consider newest_update_osd when choosing backfill peers

We must include newest_update_osd->second.log_tail when considering backfill
peers because in GetLog we will request logs back to the min last_update over
our acting_backfill set.  This will result in our log being extended as far
backwards as necessary to pick up any peers which can be log recovered by the
union of newest_update_osd's log and that of the chosen primary.

Signed-off-by: Samuel Just <sam.just@inktank.com>
ReplicatedPG: make STARTSYNC a noop

Signed-off-by: Samuel Just <sam.just@inktank.com>
Fix replica lcod update, merge with big client io patch
PGBackend: merge with PGBackend transaction commit
ReplicatedBackend: merge with RPGTransaction commit
fix TRUNCATE case, merge with mod_desc filling in patch
remove Trans*t arg from trim, merge with ObjectModDesc interface patch
ObjectModDesc: make stashed, can_local_rollback private, merge
should_send_op patch: assert is_backfill_targets
clarify argument for update_snaps in ObjectModDesc
don't use actingbackfill[0] as primary