]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: Add maybe_timespan
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 17 Aug 2017 00:42:00 +0000 (20:42 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 15 May 2020 14:55:10 +0000 (10:55 -0400)
commit47e61c2b42b1391283f68f0ec4f77e9edae2b155
treedc78b5da2a27d478657b0d6b2b536f3eae7c3e33
parent88bfb4f483596645220dee13f3cf8067389d1ef9
common: Add maybe_timespan

For handling the common idiom of a zero timeout.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/ceph_time.h