]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
common: new helper to alloacate fixed size files
authorPavel Reichl <preichl@redhat.com>
Thu, 22 Sep 2022 06:38:35 +0000 (08:38 +0200)
committerZorro Lang <zlang@kernel.org>
Fri, 23 Sep 2022 01:13:35 +0000 (09:13 +0800)
commit9fd20429c9ce9355bd57776b51cbf76cd83fdd2d
tree36f1a40404aad6db4609a991baabccccff26650e
parent033a68a98684a2489cf4221446caf52fd65ff98e
common: new helper to alloacate fixed size files

Helper that creates files of specified size using falloc if supported,
otherwise pwrite is used.

Signed-off-by: Pavel Reichl <preichl@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc
tests/generic/694