Project

General

Profile

Bug #26961

mds: fix instances of wrongly sending client messages outside of MDSRank::send*

Added by Patrick Donnelly 4 months ago. Updated 3 months ago.

Status:
Pending Backport
Priority:
Urgent
Category:
Correctness/Safety
Target version:
Start date:
08/17/2018
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
task(easy)
Pull request ID:

Description

pdonnell@icewind ~/ceph/src/mds$ git grep 'get_connection()->send_message'
MDCache.cc:  m->get_connection()->send_message2(reply); /* FIXME, why
not send_client? */
MDCache.cc:  m->get_connection()->send_message2(r);
MDSDaemon.cc:  m->get_connection()->send_message2(reply);
MDSRank.cc:
imported_session->get_connection()->send_message2(std::move(session->preopen_out_queue.front()));
MDSRank.cc:    session->get_connection()->send_message2(m);
MDSRank.cc:    session->get_connection()->send_message2(m);
MDSRank.cc:    session->get_connection()->send_message2(std::move(m));
Server.cc:
m->get_connection()->send_message2(MClientSession::create(CEPH_SESSION_RENEWCAPS,
m->get_seq()));
Server.cc:    session->get_connection()->send_message2(reply);
Server.cc:
session->get_connection()->send_message2(MClientSession::create(CEPH_SESSION_FORCE_RO));
Server.cc:    m->get_connection()->send_message2(MClientSession::create(CEPH_SESSION_CLOSE));
Server.cc:  m->get_connection()->send_message2(reply);
Server.cc:  req->get_connection()->send_message2(reply);
Server.cc:    req->get_connection()->send_message2(reply);
Server.cc:      req->get_connection()->send_message2(reply);

Related issues

Copied to fs - Backport #36147: luminous: mds: fix instances of wrongly sending client messages outside of MDSRank::send* Need More Info
Copied to fs - Backport #36148: mimic: mds: fix instances of wrongly sending client messages outside of MDSRank::send* Need More Info

History

#1 Updated by Patrick Donnelly 3 months ago

  • Status changed from New to Need Review

#2 Updated by Patrick Donnelly 3 months ago

  • Status changed from Need Review to Pending Backport

#3 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #36147: luminous: mds: fix instances of wrongly sending client messages outside of MDSRank::send* added

#4 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #36148: mimic: mds: fix instances of wrongly sending client messages outside of MDSRank::send* added

Also available in: Atom PDF