]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
generic/219: use filesystem blocksize while calculating the file size
authorPankaj Raghav <p.raghav@samsung.com>
Thu, 24 Oct 2024 11:23:10 +0000 (13:23 +0200)
committerZorro Lang <zlang@kernel.org>
Fri, 25 Oct 2024 16:58:59 +0000 (00:58 +0800)
commitb71de9073a655a01941beb9e40a45c56cfd3bb38
treef86f66e8589cc5d0461c0a56f883f854756eb3de
parent18795160b0f324401a62b4e8e2b3a1f8753a896b
generic/219: use filesystem blocksize while calculating the file size

generic/219 was failing for XFS with 32k and 64k blocksize. Even though
we do only 48k IO, XFS will allocate blocks rounded to the nearest
blocksize.

Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/219