]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: allow whiteout deletion with IGNORE_CACHE flag
authorSage Weil <sage@redhat.com>
Fri, 14 Nov 2014 06:32:20 +0000 (22:32 -0800)
committerSage Weil <sage@redhat.com>
Fri, 14 Nov 2014 06:33:25 +0000 (22:33 -0800)
commit34e4d24391c25899d6099eb4f3b69c474039182e
treeb58f14eadf15cb7fc29a398efb09f448af73089f
parentcba4ed44f2a4a93b0e7caca33571c46be92ec5b2
osd/ReplicatedPG: allow whiteout deletion with IGNORE_CACHE flag

If the client specifies IGNORE_CACHE, allow a regular DELETE to zap a
whiteout.  Expand test case to verify this works.

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