Skip to content

Commit

Permalink
ceph: print more useful version info on module load
Browse files Browse the repository at this point in the history
Decouple the client version from the server side.  Print relevant protocol
and map version info instead.

Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed May 3, 2010
1 parent 91dee39 commit c8f1658
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fs/ceph/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c8f1658

Please sign in to comment.