From a4db99ee92dd9eb65b32bc23da4a8eb2dbc5d08e Mon Sep 17 00:00:00 2001 From: John Spray Date: Fri, 2 Oct 2015 15:48:44 +0100 Subject: [PATCH] client: report mount root in session metadata Signed-off-by: John Spray --- src/client/Client.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/Client.cc b/src/client/Client.cc index 651349789196..0a6a97452b55 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -1851,6 +1851,9 @@ void Client::populate_metadata() // Ceph entity id (the '0' in "client.0") metadata["entity_id"] = cct->_conf->name.get_id(); + // Our mount position + metadata["root"] = cct->_conf->client_mountpoint; + // Ceph version metadata["ceph_version"] = pretty_version_to_str(); metadata["ceph_sha1"] = git_version_to_str(); -- 2.47.3