Project

General

Profile

Bug #14280

cls_rbd: object_map_save should enable checksums

Added by Douglas Fuller about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
01/07/2016
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
infernalis
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

rbd object_map_save disables checksums if the provided object map omits them. Enable checksums before re-encoding to trigger checksum recalculation unconditionally.


Related issues

Copied to rbd - Backport #14321: infernalis: cls_rbd: object_map_save should enable checksums Resolved

Associated revisions

Revision d5c02f3e (diff)
Added by Douglas Fuller about 3 years ago

cls_rbd: enable object map checksums for object_map_save

object_map_save disables CRCs when an object map footer isn't provided.
Unconditionally re-enable object map CRCs before re-encoding the new object
map.

Fixes: #14280
Signed-off-by: Douglas Fuller <>

Revision 8175e163 (diff)
Added by Douglas Fuller almost 3 years ago

cls_rbd: enable object map checksums for object_map_save

object_map_save disables CRCs when an object map footer isn't provided.
Unconditionally re-enable object map CRCs before re-encoding the new object
map.

Fixes: #14280
Signed-off-by: Douglas Fuller <>
(cherry picked from commit d5c02f3ed26edec095d45d7a7f26ff26d1b5aacc)

History

#1 Updated by Douglas Fuller about 3 years ago

  • Status changed from New to Need Review

#2 Updated by Jason Dillaman about 3 years ago

  • Backport set to infernalis

#3 Updated by Josh Durgin about 3 years ago

  • Status changed from Need Review to Pending Backport
  • Source changed from other to Development

#4 Updated by Loic Dachary about 3 years ago

  • Copied to Backport #14321: infernalis: cls_rbd: object_map_save should enable checksums added

#5 Updated by Loic Dachary almost 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF