]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/Watch: drop redundant in_progress_watchers
authorSage Weil <sage@redhat.com>
Sat, 8 Nov 2014 00:35:41 +0000 (16:35 -0800)
committerSage Weil <sage@redhat.com>
Thu, 4 Dec 2014 18:32:38 +0000 (10:32 -0800)
commit7c8a1cd31f174cd391f0b215c72f34ee24f7061f
tree28615e26142a729830b039d6c60bd4d24e546d57
parent66747c8bbd23f53385ede8ee5dbaca1aa3aedfac
osd/Watch: drop redundant in_progress_watchers

This is essentially watchers.size() at all times and obfuscates the code.
In particular this makes the maybe_complete_notify() logic much clearer.

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