Whamcloud - gitweb
LU-2191 utils: tunefs.lustre failed to read ZFS partitions
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Mon, 5 Nov 2012 21:07:55 +0000 (16:07 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 7 Nov 2012 02:55:52 +0000 (21:55 -0500)
commit9dbbf2761509ae814d25e88e527680c3e5e1c36a
tree944c4bcd264aace73b2cf4d589a5244d6097c9c3
parent32ad9cdf2e99eff52b9241c1f306c45eb19acc62
LU-2191 utils: tunefs.lustre failed to read ZFS partitions

ZFS shared libraries were not loaded prior to attempting to verify
type of partition supplied on commandline, it would never recognize a
ZFS partition.  Mount type also needs to be passed down to
osd_read_lld, and not just use whatever is set in defaults.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: Iad88da4ddd9cf5fcc75f8409933467d9237f58d3
Reviewed-on: http://review.whamcloud.com/4469
Tested-by: Hudson
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
lustre/utils/mkfs_lustre.c