Whamcloud - gitweb
LU-4606 utils: Mount uses so for backing fstype 93/10193/9
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Thu, 1 May 2014 21:13:45 +0000 (17:13 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 20 May 2014 16:14:28 +0000 (16:14 +0000)
commit3e8c354c09725a97b90e477a77411cc6fb306f09
tree01ddb5981220326df1fac6f2d5941843418fb8ee
parentcbade14c3f853c4f61f7878c34af6c2cf0baafc8
LU-4606 utils: Mount uses so for backing fstype

Make mount/mkfs/tunefs functionality a per backing FSTYPE shared
object that is loadable, and seperately buildable and installable
in the appropriate lustre-osd-FSTYPE rpm.

For ZFS this allows the shared object to be directly linked to libzfs
and thus remove the hardcoding of a libzfs.so version in the lustre
source. This also has the benefit of making lustre-osd-zfs explicitly
requires libzfs (which it needs to do mount/mkfs operations).

Adjust build system to allow building of loadable module.  Including
requiering libtool as part of the build.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I8fc0f41161dc08405c1f951f12e675f364ff62c3
Reviewed-on: http://review.whamcloud.com/10193
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
13 files changed:
.gitignore
autogen.sh
config/.gitignore
config/lustre-build-zfs.m4
configure.ac
lustre.spec.in
lustre/tests/.gitignore
lustre/utils/Makefile.am
lustre/utils/mount_utils.c
lustre/utils/mount_utils.h
lustre/utils/mount_utils_ldiskfs.c
lustre/utils/mount_utils_zfs.c
snmp/Makefile.am