Sanity 230q may timeout on ZFS backend, test with fewer files.
Test-Parameters: trivial fstype=zfs testlist=sanity mdscount=2 mdtcount=4 env=ONLY=230q,ONLY_REPEAT=100
Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Iaf9e4e6d68244937819305af72df33e59df19f1f
Reviewed-on: https://review.whamcloud.com/39528
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
local stripe_index
local nr_files
+ # test with fewer files on ZFS
+ [ "$mds1_FSTYPE" == "zfs" ] && threshold=40
+
stack_trap "do_nodes $mdts $LCTL set_param \
mdt.*.dir_split_count=$saved_threshold"
stack_trap "do_nodes $mdts $LCTL set_param \