summaryrefslogtreecommitdiffstats
path: root/net/ceph/ceph_common.c
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-08-19 12:29:16 -0700
committerSage Weil <sage@inktank.com>2012-08-20 10:03:15 -0700
commitd1c338a509cea5378df59629ad47382810c38623 (patch)
treeda12e11b8ae0df8ae424d1cef0d98eac095e2268 /net/ceph/ceph_common.c
parent6dab7ede9390d4d937cb89feca932e4fd575d2da (diff)
downloadop-kernel-dev-d1c338a509cea5378df59629ad47382810c38623.zip
op-kernel-dev-d1c338a509cea5378df59629ad47382810c38623.tar.gz
libceph: delay debugfs initialization until we learn global_id
The debugfs directory includes the cluster fsid and our unique global_id. We need to delay the initialization of the debug entry until we have learned both the fsid and our global_id from the monitor or else the second client can't create its debugfs entry and will fail (and multiple client instances aren't properly reflected in debugfs). Reported by: Yan, Zheng <zheng.z.yan@intel.com> Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Diffstat (limited to 'net/ceph/ceph_common.c')
-rw-r--r--net/ceph/ceph_common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ceph/ceph_common.c b/net/ceph/ceph_common.c
index 69e38db..a802029 100644
--- a/net/ceph/ceph_common.c
+++ b/net/ceph/ceph_common.c
@@ -84,7 +84,6 @@ int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid)
return -1;
}
} else {
- pr_info("client%lld fsid %pU\n", ceph_client_id(client), fsid);
memcpy(&client->fsid, fsid, sizeof(*fsid));
}
return 0;
OpenPOWER on IntegriCloud