]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: drop unnecessary cache_mode checks
authorSage Weil <sage@redhat.com>
Mon, 17 Nov 2014 20:46:51 +0000 (12:46 -0800)
committerSage Weil <sage@redhat.com>
Sun, 11 Jan 2015 04:35:03 +0000 (20:35 -0800)
commita4a414944e1fe4a025d1c0603c58afa608029f9e
tree0b312649cf97b5333d3f6b8325bba38619b525a9
parent2a67b0a0900bfb629f7ea6d5c34e3ae0eda88ff6
osd/ReplicatedPG: drop unnecessary cache_mode checks

This currently enumerates all cache modes except none, and we don't
arrive in this function when caching is disabled.  And creating a whiteout
is not cache_mode dependent.  Simplify!

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