]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
iogen: upgrade to fallocate
authorDarrick J. Wong <djwong@kernel.org>
Tue, 18 Jan 2022 18:29:10 +0000 (10:29 -0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 23 Jan 2022 14:25:12 +0000 (22:25 +0800)
commit11804b17759b8ea64a84cb6c91b42f82ab1c5840
tree4e36d0fbd4fb1582927823846c472ab5eb59c402
parenta3183c6422b5014f8d6168cbf067461c1767e8bf
iogen: upgrade to fallocate

Update this utility to use fallocate to preallocate/reserve space to a
file so that we're not so dependent on legacy XFS ioctls.  Fix a minor
whitespace error while we're at it.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
ltp/iogen.c