projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b377ff1
)
ceph: pr_info when mds reconnect completes
author
Sage Weil
<sage@newdream.net>
Wed, 11 Nov 2009 23:50:12 +0000
(15:50 -0800)
committer
Sage Weil
<sage@newdream.net>
Wed, 11 Nov 2009 23:50:31 +0000
(15:50 -0800)
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>
fs/ceph/mds_client.c
patch
|
blob
|
history
diff --git
a/fs/ceph/mds_client.c
b/fs/ceph/mds_client.c
index aad10d90feeeb4b0604aa808eec821c0b1459e8b..44cac576f15e0a79b68bc2e5a52e7f559ecb2394 100644
(file)
--- 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,
*/
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);
}