mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: Make 204 work with different block and inode sizes.
Otherwise it fails with ENOSPC on CRC enabled filesystems because of the larger inode size. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Rich Johnston <rjohnston@sgi.com> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
committed by
Rich Johnston
parent
f7433693f4
commit
a4d5b247b5
+9
-1
@@ -131,9 +131,17 @@ _filter_date()
|
||||
}
|
||||
|
||||
# prints filtered output on stdout, values (use eval) on stderr
|
||||
#
|
||||
# Non XFS filesystems always return a 4k block size and a 256 byte inode.
|
||||
_filter_mkfs()
|
||||
{
|
||||
case $FSTYP in
|
||||
xfs)
|
||||
;;
|
||||
*)
|
||||
perl -e 'print STDERR "dbsize=4096\nisize=256\n"'
|
||||
return ;;
|
||||
esac
|
||||
|
||||
set -
|
||||
perl -ne '
|
||||
if (/^meta-data=([\w,|\/.-]+)\s+isize=(\d+)\s+agcount=(\d+), agsize=(\d+) blks/) {
|
||||
|
||||
Reference in New Issue
Block a user