summaryrefslogtreecommitdiffstats
path: root/src/msg
diff options
context:
space:
mode:
authorPatrick Donnelly <pdonnell@redhat.com>2023-08-28 15:26:17 +0200
committerPatrick Donnelly <pdonnell@redhat.com>2023-08-28 15:26:17 +0200
commita9f08d4ee7aef3ffc337f3f12491ff56021d3159 (patch)
treeadd5e0f3198b303c0747fcd043df794a7d9ef769 /src/msg
parentMerge pull request #51979 from rhcs-dashboard/angular-14 (diff)
parentmgr: register OSDs in ms_handle_accept (diff)
downloadceph-a9f08d4ee7aef3ffc337f3f12491ff56021d3159.tar.xz
ceph-a9f08d4ee7aef3ffc337f3f12491ff56021d3159.zip
Merge PR #52292 into main
* refs/pull/52292/head: mgr: register OSDs in ms_handle_accept msg: indicate ms_handle_authentication is fast Reviewed-by: Ilya Dryomov <idryomov@redhat.com> Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Diffstat (limited to 'src/msg')
-rw-r--r--src/msg/Dispatcher.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/msg/Dispatcher.h b/src/msg/Dispatcher.h
index 5e025437b53..885f1843b31 100644
--- a/src/msg/Dispatcher.h
+++ b/src/msg/Dispatcher.h
@@ -204,13 +204,16 @@ public:
/**
* handle successful authentication (msgr2)
*
- * Authenticated result/state will be attached to the Connection.
+ * Authenticated result/state will be attached to the Connection. This is
+ * called via the MonClient.
+ *
+ * Do not acquire locks in this method! It is considered "fast" delivery.
*
* return 1 for success
* return 0 for no action (let another Dispatcher handle it)
* return <0 for failure (failure to parse caps, for instance)
*/
- virtual int ms_handle_authentication(Connection *con) {
+ virtual int ms_handle_fast_authentication(Connection *con) {
return 0;
}