]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: differentiate Notify with and without watchers
authorKefu Chai <kchai@redhat.com>
Sun, 7 Mar 2021 13:23:54 +0000 (21:23 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 7 Mar 2021 13:41:51 +0000 (21:41 +0800)
commit8f6be7ddac7abdb61b669e89621a2942a13022c0
treec0ec66d6c6ca151448a12391fc1e28eff7964913
parent3eacda15f4928acb7eb134c26cf889878c99e258
crimson/osd: differentiate Notify with and without watchers

we don't need to arm the timer, if there is no watchers.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/watch.cc
src/crimson/osd/watch.h