mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic/299: truncate can fail with ENOSPC
So this test does lots of fallocate/truncate noise while doing aio overwrites to try and exercise a deadlock found in ext4. Because it runs so hard with ENOSPC it can sometimes cause truncate to fail on btrfs. This is ok and doesn't affect the validity of the test, we just need to catch the output so it doesn't cause the test to fail. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
710281f260
commit
8ebabf7298
+1
-1
@@ -130,7 +130,7 @@ _workout()
|
||||
done
|
||||
for ((k=1; k <= NUM_JOBS; k++))
|
||||
do
|
||||
truncate -s 0 $SCRATCH_MNT/direct_aio.$k.0
|
||||
truncate -s 0 $SCRATCH_MNT/direct_aio.$k.0 >> $seqres.full 2>&1
|
||||
done
|
||||
# Following like will check that pid is still run.
|
||||
# Once fio exit we can stop fallocate/truncate loop
|
||||
|
||||
Reference in New Issue
Block a user