Skip to content

Commit

Permalink
ceph: pr_info when mds reconnect completes
Browse files Browse the repository at this point in the history
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: Sage Weil <sage@newdream.net>
  • Loading branch information
Sage Weil committed Nov 11, 2009
1 parent b377ff1 commit fef320f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/ceph/mds_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2234,6 +2234,7 @@ static void check_new_map(struct ceph_mds_client *mdsc,
*/
if (oldstate < CEPH_MDS_STATE_ACTIVE &&
newstate >= CEPH_MDS_STATE_ACTIVE) {
pr_info("mds%d reconnect completed\n", s->s_mds);
kick_requests(mdsc, i, 1);
ceph_kick_flushing_caps(mdsc, s);
}
Expand Down

0 comments on commit fef320f

Please sign in to comment.