]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: fix whiteouts for other cache mode 1774/head
authorSage Weil <sage@inktank.com>
Tue, 6 May 2014 18:01:27 +0000 (11:01 -0700)
committerSage Weil <sage@inktank.com>
Tue, 6 May 2014 18:01:27 +0000 (11:01 -0700)
commit3e387d62ed95898db8a7d7163c2bacc363b8f617
tree17db25e47b6bfc657929bc164bd2c341837e5708
parentf31e3ee00ae35fd5c0d1100c0e1387f373930c2d
osd/ReplicatedPG: fix whiteouts for other cache mode

We were special casing WRITEBACK mode for handling whiteouts; this needs to
also include the FORWARD and READONLY modes.  To avoid having to list
specific cache modes, though, just check != NONE.

Fixes: #8296
Backport: firefly
Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc