]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls_rbd: enable object map checksums for object_map_save 7428/head
authorDouglas Fuller <dfuller@redhat.com>
Thu, 7 Jan 2016 19:01:19 +0000 (11:01 -0800)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Fri, 29 Jan 2016 10:10:42 +0000 (15:40 +0530)
commit8175e163fceb2bdc49ca291e183c08575e6c5d18
tree353bfaddf0702afe09858d2856450278d9fbb0e3
parentbb2ecea240f3a1d525bcb35670cb07bd1f0ca299
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 <dfuller@redhat.com>
(cherry picked from commit d5c02f3ed26edec095d45d7a7f26ff26d1b5aacc)
src/cls/rbd/cls_rbd.cc