Skip to content

Commit 9e1baca

Browse files
committed
nfs05.sh: Lower down the default values
nfs05_make_tree.c runs make which needs on Btrfs quite a lot of temporary space. This is a preparation for the next commit which start using all filesystems via TST_ALL_FILESYSTEMS=1. Currently we use 300 MB, which was not enough for Btrfs: Filesystem Type Size Used Avail Use% Mounted on /dev/loop0 btrfs 300M 62M 20K 100% /tmp/LTP_nfs05.Vau10kcszO/mntpoint More space is required on ppc64le which uses 64KB page size (instead of the default 4KB for most of archs). Proper solution would be to detect available size in nfs05_make_tree.c and lower down values based on free space. Link: https://lore.kernel.org/ltp/[email protected]/ Acked-by: Cyril Hrubis <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
1 parent 5f1fc2f commit 9e1baca

File tree

1 file changed

+3
-3
lines changed
  • testcases/network/nfs/nfs_stress

1 file changed

+3
-3
lines changed

testcases/network/nfs/nfs_stress/nfs05.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#
99
# Created by: Robbie Williamson ([email protected])
1010

11-
DIR_NUM=${DIR_NUM:-"10"}
12-
FILE_NUM=${FILE_NUM:-"30"}
13-
THREAD_NUM=${THREAD_NUM:-"8"}
11+
DIR_NUM=${DIR_NUM:-"5"}
12+
FILE_NUM=${FILE_NUM:-"20"}
13+
THREAD_NUM=${THREAD_NUM:-"5"}
1414
TST_NEEDS_CMDS="make gcc"
1515
TST_TESTFUNC="do_test"
1616

0 commit comments

Comments
 (0)