From: Andreas Gruenbacher Date: Sat, 16 Sep 2017 13:20:54 +0000 (+0200) Subject: common/rc: Improve gfs2 support X-Git-Tag: v2022.05.01~1862 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e04905eba73a1be9578a8f9d8c0abbcc09d410ff;p=xfstests-dev.git common/rc: Improve gfs2 support Support gfs2 in _scratch_mkfs_sized _scratch_mkfs_blocksized. Signed-off-by: Andreas Gruenbacher Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/common/rc b/common/rc index cd53a373..53bbb118 100644 --- a/common/rc +++ b/common/rc @@ -1055,6 +1055,9 @@ _scratch_mkfs_sized() ext2|ext3|ext4|ext4dev) ${MKFS_PROG}.$FSTYP -F $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV $blocks ;; + gfs2) + yes | ${MKFS_PROG}.$FSTYP $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV $blocks + ;; ocfs2) yes | ${MKFS_PROG}.$FSTYP -F $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV $blocks ;; @@ -1139,6 +1142,9 @@ _scratch_mkfs_blocksized() ext2|ext3|ext4) ${MKFS_PROG}.$FSTYP -F $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV ;; + gfs2) + yes | ${MKFS_PROG}.$FSTYP $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV + ;; ocfs2) yes | ${MKFS_PROG}.$FSTYP -F $MKFS_OPTIONS -b $blocksize -C $blocksize $SCRATCH_DEV ;;