mirror of
https://github.com/ceph/ceph
synced 2025-03-18 16:36:12 +00:00
Merge pull request #3536 from athanatos/wip-10616
Wip 10616 Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
880f94895f
@ -11795,9 +11795,12 @@ void ReplicatedPG::hit_set_persist()
|
||||
obc->obs.oi.mtime = now;
|
||||
obc->obs.oi.size = bl.length();
|
||||
obc->obs.exists = true;
|
||||
obc->obs.oi.set_data_digest(bl.crc32c(-1));
|
||||
|
||||
ctx->new_obs = obc->obs;
|
||||
ctx->new_snapset.head_exists = true;
|
||||
|
||||
obc->ssc->snapset.head_exists = true;
|
||||
ctx->new_snapset = obc->ssc->snapset;
|
||||
|
||||
ctx->delta_stats.num_objects++;
|
||||
ctx->delta_stats.num_objects_hit_set_archive++;
|
||||
|
Loading…
Reference in New Issue
Block a user