Reduce number of files created because small test setups don't have so many
files and it doesn't really improve the test. Also, checkstat will fail
if there are too many files on the command line.
test_58() {
#define OBD_FAIL_MDS_OST_SETATTR 0x12c
do_facet mds "sysctl -w lustre.fail_loc=0x8000012c"
- createmany -o $DIR/$tfile-%d 30000
+ createmany -o $DIR/$tfile-%d 2500
replay_barrier mds
fail mds
sleep 2
$CHECKSTAT -t file $DIR/$tfile-* || return 1
do_facet mds "sysctl -w lustre.fail_loc=0x0"
- rm -f $DIR/$tfile-*
+ unlinkmany $DIR/$tfile-* 2500
}
run_test 58 "test recovery from llog for setattr op (test llog_gen_rec)"