]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: Obey mkfs options for sized filesystems on XFS
authorDave Chinner <dchinner@redhat.com>
Tue, 3 Sep 2013 00:14:54 +0000 (00:14 +0000)
committerRich Johnston <rjohnston@sgi.com>
Sun, 13 Oct 2013 23:30:53 +0000 (18:30 -0500)
commitf7433693f4198153900081dca01ab5cd940986b8
treeefa545b4eb336e4b56fb4b06b3f7290bf39f88ec
parentf33d180335f13407df92c0dd642974a808d6b87f
xfstests: Obey mkfs options for sized filesystems on XFS

The XFS implementation of _scratch_mkfs_sized ignores MKFS_OPTIONS
when a custom block size is set and so isn't testing things like
CRCs on such sized filesytsems. Fix this by ensuring we don't try to
override the block size is it is set in MKFS_OPTIONS. xfs/204 shows
this problem.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
common/rc
tests/generic/204