]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: only issue one error per watch; do it through one path
authorSage Weil <sage@redhat.com>
Wed, 10 Dec 2014 18:05:57 +0000 (10:05 -0800)
committerSage Weil <sage@redhat.com>
Wed, 10 Dec 2014 18:05:57 +0000 (10:05 -0800)
commit320c25607ca75d82d02393a96c63195779cdaf9b
tree4496a10f5f3dd89a3601cc4f6853d3c3fecac632
parent1e32e3bd82191fda9cf8078451ccf5b3e2053b20
osdc/Objecter: only issue one error per watch; do it through one path

Send all errors through C_DoWatchError for simplicity.

Only deliver one error per watch.  This simplifies callers logic and avoids
a very rare case that they need to deal with.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osdc/Objecter.cc