]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: upper bound watch_check result 9104/head
authorSage Weil <sage@redhat.com>
Fri, 6 May 2016 13:09:43 +0000 (09:09 -0400)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Wed, 8 Jun 2016 09:37:12 +0000 (15:07 +0530)
commitf4306de66d6c071cb240a0d77e8f877841f87033
tree2a77cfbfc4c389b6818e7be39385a1a7dd7c3699
parentd93a90ec2743c9aec229891c3b0da72b038cffad
osdc/Objecter: upper bound watch_check result

This way we always return a safe upper bound on the amount of time
since we did a check.  Among other things, this prevents us from
returning a value of 0, which is confusing.

Fixes: http://tracker.ceph.com/issues/15760
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 2e2ce365866a7569b55aff338a82c132aa927089)
src/osdc/Objecter.cc