mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
Merge pull request #11359 from batrick/i17276
client: add pid to metadata Reviewed-by: John Spray <john.spray@redhat.com>
This commit is contained in:
commit
8ce51e5db5
@ -1941,6 +1941,8 @@ void Client::populate_metadata()
|
||||
ldout(cct, 1) << __func__ << " failed to read hostname (" << cpp_strerror(r) << ")" << dendl;
|
||||
}
|
||||
|
||||
metadata["pid"] = stringify(getpid());
|
||||
|
||||
// Ceph entity id (the '0' in "client.0")
|
||||
metadata["entity_id"] = cct->_conf->name.get_id();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user