Commit a6a5ce4f authored by Yan, Zheng's avatar Yan, Zheng Committed by Ilya Dryomov

client: include kernel version in client metadata

Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent 38c48b5f
......@@ -844,8 +844,9 @@ static struct ceph_msg *create_session_open_msg(struct ceph_mds_client *mdsc, u6
struct ceph_options *opt = mdsc->fsc->client->options;
void *p;
const char* metadata[3][2] = {
const char* metadata[][2] = {
{"hostname", utsname()->nodename},
{"kernel_version", utsname()->release},
{"entity_id", opt->name ? opt->name : ""},
{NULL, NULL}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment