xfs/209: filter scratch dir properly

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Christoph Hellwig
2016-03-23 17:39:11 +11:00
committed by Dave Chinner
parent f1c3fee1ca
commit a78397fa3a
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ echo "Check cowextsize settings"
seq 1 2 | while read nr; do
seq 1 4 | while read nnr; do
file="$testdir/dir-$nr/file-$nnr"
$XFS_IO_PROG -c "cowextsize" $file
$XFS_IO_PROG -c "cowextsize" $file | _filter_scratch
done
done
+8 -8
View File
@@ -3,11 +3,11 @@ Format and mount
Set extsz and cowextsz on directory
Create a fake tree structure
Check cowextsize settings
[1048576] /opt/test-209/dir-1/file-1
[1048576] /opt/test-209/dir-1/file-2
[1048576] /opt/test-209/dir-1/file-3
[1048576] /opt/test-209/dir-1/file-4
[1048576] /opt/test-209/dir-2/file-1
[1048576] /opt/test-209/dir-2/file-2
[1048576] /opt/test-209/dir-2/file-3
[1048576] /opt/test-209/dir-2/file-4
[1048576] SCRATCH_MNT/test-209/dir-1/file-1
[1048576] SCRATCH_MNT/test-209/dir-1/file-2
[1048576] SCRATCH_MNT/test-209/dir-1/file-3
[1048576] SCRATCH_MNT/test-209/dir-1/file-4
[1048576] SCRATCH_MNT/test-209/dir-2/file-1
[1048576] SCRATCH_MNT/test-209/dir-2/file-2
[1048576] SCRATCH_MNT/test-209/dir-2/file-3
[1048576] SCRATCH_MNT/test-209/dir-2/file-4