]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: don't count deletions as ops
authorJosh Durgin <josh.durgin@dreamhost.com>
Thu, 9 Feb 2012 01:38:52 +0000 (17:38 -0800)
committerJosh Durgin <josh.durgin@dreamhost.com>
Thu, 9 Feb 2012 01:40:51 +0000 (17:40 -0800)
commitf0334673ab8547807b961aae19a8e53531585e3f
treef6ea01e15a090e1a855d460af009b3b8d02a5a5e
parent42db09b7e433e46120908761d8fd869c81f9d2d0
ReplicatedPG: don't count deletions as ops

Counting them as ops but not requeueing the pg for recovery causes
backfill to stall when only deletions are sent in
recover_backfill(). Deletions are cheap and don't need to be acked, so
we can simply stop counting them as ops.

Fixes: #2044
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
src/osd/ReplicatedPG.cc