]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/DaemonServer: handle MMgrReports in parallel
authorJohn Spray <john.spray@redhat.com>
Mon, 28 Aug 2017 11:29:36 +0000 (07:29 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 1 Nov 2017 23:03:23 +0000 (23:03 +0000)
commit946d1541bd2b14d6f8abbaa201c3521dd117f01b
tree2d204c080b2a0d78f392cbc37e08255e8cdc9f40
parentd70fae092db920e2db77c7c8b044cfb4d9687992
mgr/DaemonServer: handle MMgrReports in parallel

The DaemonStateIndex locking is sufficient to make all
the report processing safe: holding DaemonServer::lock
through all ms_dispatch was unnecessarily serializing
dispatch.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 64af9d3da0fceff9ad0ff668f60d272c46912f34)
src/mgr/DaemonServer.cc