]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: do not flush omap objects to an EC base pool
authorSage Weil <sage@inktank.com>
Sat, 8 Feb 2014 02:05:04 +0000 (18:05 -0800)
committerSage Weil <sage@inktank.com>
Sun, 16 Feb 2014 06:09:39 +0000 (22:09 -0800)
commit7f854211d39edaccab0e115d5638db4536cd75b4
tree88065522791c4303ca859cca8a50a568d7005736
parent8c7bc2e873deb09e8a5e6bab1e62ee9fb19cf025
osd/ReplicatedPG: do not flush omap objects to an EC base pool

The EC pool does not support omap content.  If the caching/tiering agent
encounters such an object, just skip it.  Use the OMAP object_info_t flag
for this.

Although legacy pools will have objects with omap that do not have this
flag set, no *cache* pools yet exist, so we do not need to worry about the
agent running across legacy content.

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