diff options
author | Sage Weil <sage@newdream.net> | 2009-11-11 18:50:12 -0500 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-11-11 18:50:31 -0500 |
commit | fef320ff8887c702cde7ca6b8dbfff3a341d49fe (patch) | |
tree | 9350cbf4c7431ff2d004129935f2cf89baa43274 /fs | |
parent | b377ff13b31778c19203f3089d14080beb40a692 (diff) |
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: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ceph/mds_client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c index aad10d90feee..44cac576f15e 100644 --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c | |||
@@ -2234,6 +2234,7 @@ static void check_new_map(struct ceph_mds_client *mdsc, | |||
2234 | */ | 2234 | */ |
2235 | if (oldstate < CEPH_MDS_STATE_ACTIVE && | 2235 | if (oldstate < CEPH_MDS_STATE_ACTIVE && |
2236 | newstate >= CEPH_MDS_STATE_ACTIVE) { | 2236 | newstate >= CEPH_MDS_STATE_ACTIVE) { |
2237 | pr_info("mds%d reconnect completed\n", s->s_mds); | ||
2237 | kick_requests(mdsc, i, 1); | 2238 | kick_requests(mdsc, i, 1); |
2238 | ceph_kick_flushing_caps(mdsc, s); | 2239 | ceph_kick_flushing_caps(mdsc, s); |
2239 | } | 2240 | } |