]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: do not set omap digest if there is no omap
authorSage Weil <sage@redhat.com>
Mon, 14 Dec 2015 16:35:46 +0000 (11:35 -0500)
committerSage Weil <sage@redhat.com>
Tue, 15 Dec 2015 02:07:14 +0000 (21:07 -0500)
commitfe1c28dea4e5607a0c72eab1f046074616cd55a7
treee4578e5369a7e8f4c8a6717f093a5514ac272027
parentd06463604cb8daeda288e824e8812352c0d6a7d9
osd/ReplicatedPG: do not set omap digest if there is no omap

We want to avoid encoding it if we can.  And if the FLAG_OMAP is not set
we don't need to *also* store an empty crc.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/ReplicatedPG.cc
src/osd/osd_types.h