mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-03 17:14:14 +08:00
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: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
91dee39eeb
commit
c8f16584ac
@ -996,9 +996,10 @@ static int __init init_ceph(void)
|
||||
if (ret)
|
||||
goto out_icache;
|
||||
|
||||
pr_info("loaded %d.%d.%d (mon/mds/osd proto %d/%d/%d)\n",
|
||||
CEPH_VERSION_MAJOR, CEPH_VERSION_MINOR, CEPH_VERSION_PATCH,
|
||||
CEPH_MONC_PROTOCOL, CEPH_MDSC_PROTOCOL, CEPH_OSDC_PROTOCOL);
|
||||
pr_info("loaded (mon/mds/osd proto %d/%d/%d, osdmap %d/%d %d/%d)\n",
|
||||
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;
|
||||
|
||||
out_icache:
|
||||
|
Loading…
Reference in New Issue
Block a user