]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: report mount root in session metadata
authorJohn Spray <john.spray@redhat.com>
Fri, 2 Oct 2015 14:48:44 +0000 (15:48 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 5 Jan 2016 14:05:03 +0000 (14:05 +0000)
Signed-off-by: John Spray <john.spray@redhat.com>
src/client/Client.cc

index 651349789196c6a5bfdb8e2fb7e86f83b4ac8067..0a6a97452b55a2669fdc1d41a6856a9a6fc14fdc 100644 (file)
@@ -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();