]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
ext4: the _require checks for bigalloc need a larger fs size
authorVishal Verma <vishal.l.verma@linux.intel.com>
Fri, 12 Dec 2014 00:26:56 +0000 (11:26 +1100)
committerDave Chinner <david@fromorbit.com>
Fri, 12 Dec 2014 00:26:56 +0000 (11:26 +1100)
commitc947ef41b0ea054d8173fce8e590780f140f36bb
tree3d996d9eeee205e0f0909442c877feec3d099e41
parent7b7e4497be9b3f03078802c84aba435a7a5ffe3b
ext4: the _require checks for bigalloc need a larger fs size

_require_ext4_bigalloc and _require_ext4_mkfs_bigalloc create a
200k fs. DAX (as XIP before it) relies on a fs block size ==
system page size; ie 4k for us.  With a 200k fs size limit,
mkfs refuses to create a filesystem with a 4k block size, so
the check fails, but for a bogus reason.
Increasing the fs size to 512m allows mkfs to create a filesystem
with 4k block size, so the test passes.

Signed-off-by: Vishal Verma <vishal.l.verma@linux.intel.com>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc