On 02/05/2025 18:04, Darrick J. Wong wrote: >> ./common/filter >> +. ./common/zoned >> + >> +_require_scratch > Needs _require_realtime so that the next command doesn't fail on > undefined SCRATCH_RTDEV > >> +_require_zoned_device $SCRATCH_RTDEV >> +_require_command "$BLKZONE_PROG" blkzone >> + >> +_scratch_mkfs >> $seqres.full 2>&1 || _fail "mkfs failed" >> +_scratch_mount >> +blksz=$(_get_file_block_size $SCRATCH_MNT) >> + >> +test_file=$SCRATCH_MNT/test.dat >> +dd if=/dev/zero of=$test_file bs=1M count=16 >> $seqres.full 2>&1 \ >> + oflag=direct || _fail "file creation failed" >> + >> +_scratch_unmount >> + >> +# >> +# Figure out which zone was opened to store the test file and where >> +# the write pointer is in that zone >> +# >> +open_zone=$($BLKZONE_PROG report $SCRATCH_RTDEV | \ >> + $AWK_PROG '/oi/ { print $2 }' | sed 's/,//') >> +open_zone_wp=$($BLKZONE_PROG report $SCRATCH_RTDEV | \ >> + grep "start: $open_zone" | $AWK_PROG '{ print $8 }') > ^ spaces here before a tab Fixed, thanks!