]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix, cleanup ack/disk reply logic
authorSage Weil <sage@newdream.net>
Wed, 30 Jun 2010 21:40:20 +0000 (14:40 -0700)
committerSage Weil <sage@newdream.net>
Wed, 30 Jun 2010 21:40:20 +0000 (14:40 -0700)
commit8410e6a65a923990724b7a824886ae1e46508d0c
treeda30548b6ebc9734a13387c5d32a4be6653ee22e
parentaa30dd18aa753fdb9eb45a5f4f1053f539237b68
osd: fix, cleanup ack/disk reply logic

There was a bug where we would get no reply if we could send ondisk but
the client didn't want it.  This simplifies and cleans up the checks
to make more sense, removing the can_* helpers that were hiding which
checks were being done.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h