We may decode this from a large buffer (e.g., an
ECSubWrite payload) and the ObjectModDesc is part of
the pg_log_entry_t, which may stay in memory for a long
time. Avoid pinning memory.
Fixes: http://tracker.ceph.com/issues/18093
Signed-off-by: Sage Weil <sage@redhat.com>
::decode(can_local_rollback, _bl);
::decode(rollback_info_completed, _bl);
::decode(bl, _bl);
+ // ensure bl does not pin a larger buffer in memory
+ bl.rebuild();
DECODE_FINISH(_bl);
}