Commit fef320ff authored by Sage Weil's avatar Sage Weil

ceph: pr_info when mds reconnect completes

This helps the user know what's going on during the (involved) reconnect
process.  They already see when the mds fails and reconnect starts.
Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent b377ff13
...@@ -2234,6 +2234,7 @@ static void check_new_map(struct ceph_mds_client *mdsc, ...@@ -2234,6 +2234,7 @@ static void check_new_map(struct ceph_mds_client *mdsc,
*/ */
if (oldstate < CEPH_MDS_STATE_ACTIVE && if (oldstate < CEPH_MDS_STATE_ACTIVE &&
newstate >= CEPH_MDS_STATE_ACTIVE) { newstate >= CEPH_MDS_STATE_ACTIVE) {
pr_info("mds%d reconnect completed\n", s->s_mds);
kick_requests(mdsc, i, 1); kick_requests(mdsc, i, 1);
ceph_kick_flushing_caps(mdsc, s); ceph_kick_flushing_caps(mdsc, s);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment