Whamcloud - gitweb
LU-13241 utils: use libext2fs for ldiskfs operations 56/37656/7
authorLi Dongyang <dongyangli@ddn.com>
Fri, 21 Feb 2020 02:36:26 +0000 (13:36 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 3 Mar 2020 17:37:01 +0000 (17:37 +0000)
commit7dc8aa7e7848f800c54eb18ecd59d665484ce822
tree543dd0df6bcf1ed32b4b6b0bae660e5c2485a737
parentbfaa8a0686f95802fda79fbc8cf9001fcf1b5192
LU-13241 utils: use libext2fs for ldiskfs operations

Instead of using debugfs to stat and read the CONFIGS/mountdata,
we can switch to libext2fs and control the flags used when
opening the ldiskfs, to reduce the mount time on huge targets.

Change-Id: I9da8fc1c77d149fe5cf3bd19b0ff76d892620101
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-on: https://review.whamcloud.com/37656
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre.spec.in
lustre/autoconf/lustre-core.m4
lustre/utils/Makefile.am
lustre/utils/libmount_utils_ldiskfs.c