remote_ost_nodsh && skip "remote OST with nodsh" && return
# define OBD_FAIL_OST_MAPBLK_ENOSPC 0x228
# MUST OR with the OBD_FAIL_ONCE (0x80000000)
- do_facet ost0 lctl set_param fail_loc=0x80000228
+ do_facet ost1 lctl set_param fail_loc=0x80000228
# write should trigger a retry and success
$SETSTRIPE -i 0 -c 1 $DIR/$tfile
remote_ost_nodsh && skip "remote OST with nodsh" && return
# define OBD_FAIL_OST_MAPBLK_ENOSPC 0x228
# Don't OR with the OBD_FAIL_ONCE (0x80000000)
- do_facet ost0 lctl set_param fail_loc=0x228
+ do_facet ost1 lctl set_param fail_loc=0x228
# write should retry several times and return -ENOSPC finally
$SETSTRIPE -i 0 -c 1 $DIR/$tfile
# clear old jobstats
do_facet $SINGLEMDS lctl set_param mdt.*.job_stats="clear"
- do_facet ost0 lctl set_param obdfilter.*.job_stats="clear"
+ do_facet ost1 lctl set_param obdfilter.*.job_stats="clear"
# use a new JobID for this test, or we might see an old one
[ "$JOBENV" = "FAKE_JOBID" ] && FAKE_JOBID=test_id.$testnum.$RANDOM
grep $JOBVAL || error "No job stats found on MDT $FACET"
fi
if [ "$target" = "ost" -o "$target" = "both" ]; then
- FACET=ost0
+ FACET=ost1
do_facet $FACET lctl get_param obdfilter.*.job_stats |
grep $JOBVAL || error "No job stats found on OST $FACET"
fi