Add the zpool and filesystem versions
authorDarik Horn <dajhorn@vanadac.com>
Mon, 28 Feb 2011 16:15:05 +0000 (10:15 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 28 Feb 2011 17:46:23 +0000 (09:46 -0800)
commita23cc0a443e3da417cc1894cd3e86946f1ff3add
treeadde8f6e377293c73c70c47581dc5391e136898c
parentfdcd952b4d93f9c9d9ec89a95ef6e2964c27da95
Add the zpool and filesystem versions

Print the supported zpool and filesystem versions at module load
time.  This change removes an ambiguity and adds information that
system administrators care about.  The phrase "ZFS pool version %s"
is the same as zpool upgrade -v so that the operator is familiar
with the message.

  ZFS: Loaded module v0.6.0, ZFS pool version 28, ZFS filesystem version 5
  ZFS: Unloaded module v0.6.0

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/zfs/zfs_ioctl.c