skip_env "mds-survey not found" && exit
fi
+if [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.3.51) ]; then
+ skip_env "Need MDS version at least 2.3.51" && exit
+fi
+
build_test_filter
check_and_setup_lustre
require_inode=$((file_count * thrhi))
# get available inode for mdt
- avail_mdt_inode=$($LFS df -i $MOUNT | grep "filesystem summary:" | \
- awk '{print $5}')
+ avail_mdt_inode=$(mdt_free_inodes 0)
avail_mdt_inode=$((avail_mdt_inode * 9 / 10))
# get available inode for ost
# remount the clients
restore_mount $MOUNT
-complete $(basename $0) $SECONDS
+complete $SECONDS
cleanup_echo_devs
check_and_cleanup_lustre
exit_status