Commit c8f16584 authored by Sage Weil's avatar Sage Weil

ceph: print more useful version info on module load

Decouple the client version from the server side.  Print relevant protocol
and map version info instead.
Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 91dee39e
...@@ -996,9 +996,10 @@ static int __init init_ceph(void) ...@@ -996,9 +996,10 @@ static int __init init_ceph(void)
if (ret) if (ret)
goto out_icache; goto out_icache;
pr_info("loaded %d.%d.%d (mon/mds/osd proto %d/%d/%d)\n", pr_info("loaded (mon/mds/osd proto %d/%d/%d, osdmap %d/%d %d/%d)\n",
CEPH_VERSION_MAJOR, CEPH_VERSION_MINOR, CEPH_VERSION_PATCH, CEPH_MONC_PROTOCOL, CEPH_MDSC_PROTOCOL, CEPH_OSDC_PROTOCOL,
CEPH_MONC_PROTOCOL, CEPH_MDSC_PROTOCOL, CEPH_OSDC_PROTOCOL); CEPH_OSDMAP_VERSION, CEPH_OSDMAP_VERSION_EXT,
CEPH_OSDMAP_INC_VERSION, CEPH_OSDMAP_INC_VERSION_EXT);
return 0; return 0;
out_icache: out_icache:
......
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