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>
Showing
- .gitignore 4 additions, 0 deletions.gitignore
- autogen.sh 1 addition, 0 deletionsautogen.sh
- config/.gitignore 6 additions, 0 deletionsconfig/.gitignore
- config/lustre-build-zfs.m4 2 additions, 0 deletionsconfig/lustre-build-zfs.m4
- configure.ac 1 addition, 0 deletionsconfigure.ac
- lustre.spec.in 9 additions, 0 deletionslustre.spec.in
- lustre/tests/.gitignore 1 addition, 0 deletionslustre/tests/.gitignore
- lustre/utils/Makefile.am 32 additions, 32 deletionslustre/utils/Makefile.am
- lustre/utils/mount_utils.c 155 additions, 162 deletionslustre/utils/mount_utils.c
- lustre/utils/mount_utils.h 17 additions, 32 deletionslustre/utils/mount_utils.h
- lustre/utils/mount_utils_ldiskfs.c 122 additions, 118 deletionslustre/utils/mount_utils_ldiskfs.c
- lustre/utils/mount_utils_zfs.c 6 additions, 100 deletionslustre/utils/mount_utils_zfs.c
- snmp/Makefile.am 5 additions, 5 deletionssnmp/Makefile.am
Loading
Please register or sign in to comment