]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
259: Test xfs fs creation with fs size close to 4 TB
authorBoris Ranto <branto@redhat.com>
Thu, 22 Sep 2011 08:30:29 +0000 (08:30 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 23 Sep 2011 15:56:46 +0000 (10:56 -0500)
commit1844fe5e7e13af4a8a1b6fb62857812979cd55be
tree1fa5f322547e0fb08c353baf47603eac46615007
parentc9f44c4adb8447461f04f7a07c160da6ee38bc87
259: Test xfs fs creation with fs size close to 4 TB

mkfs.xfs failed to create xfs filesystems with 4 TB minus few bytes due
to round up error in mkfs.xfs code.
This test case is a regression test for the fs creation problem.

I've tested the test case with mkfs.xfs patch (in the form posted by
Eric Sandeen) and the test passed (and therefore the patch fixed the
issue for me).

I'm not sure whether bash guarantees at least 64-bit precision
values in its arithmetic operations.  Therefore the values are
computed in advance.

Signed-off-by: Boris Ranto <branto@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
259 [new file with mode: 0644]
259.out [new file with mode: 0644]
group