Whamcloud - gitweb
LU-7759 utils: build mount.lustre with libmount 20/18820/5
authorYang Sheng <yang.sheng@intel.com>
Tue, 8 Mar 2016 17:21:14 +0000 (01:21 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 11 Apr 2016 02:51:41 +0000 (02:51 +0000)
commitf1de339d881958de8fc47065fb31a5c8e0c14b60
tree4c8db3d638a34a0075ee7b924518e38321e506c0
parent5bd8f72d1ecad7f8efe7156f3e15790d6df90386
LU-7759 utils: build mount.lustre with libmount

Newer distro, like RHEL7, SLES12 will invoke statfs when
umount. It will block while some OST unavailable. So we
write a entry in utab file to avoid invoke statfs() before
issuing the unmount call.

Signed-off-by: Yang Sheng <yang.sheng@intel.com>
Change-Id: I3930ac3454a568908f0872f4a0d83ab264742f3c
Reviewed-on: http://review.whamcloud.com/18820
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
config/lustre-build.m4
lustre/utils/Makefile.am
lustre/utils/mount_lustre.c
lustre/utils/mount_utils.c
lustre/utils/mount_utils.h