• Ignat Korchagin's avatar
    Fix filesystem-disk-test to support platforms with non-4K filesystem block size · a01f80ea
    Ignat Korchagin authored
    Some memory-based filesystems, namely tmpfs, select their underlying block size
    equal to the configured page size of the platform/OS.
    
    On systems with page size not equal to 4K (for example, arm64 can be configured
    to have 16K or 64K page sizes -
    https://www.kernel.org/doc/Documentation/arm64/memory.txt) "DiskFile holes"
    test fails, when creating a file on a memory-based filesystem, because it
    "punches" a 4096 byte hole in the file (using fallocate) and expects the number
    of filesystem blocks used by the file to decrease. When the system page size is
    greater than 4K, 4096 byte hole is not enough to make the OS release the
    underlying blocks.
    
    Need to punch a whole, which is equal to the underlying filesystem block size at
    least.
    a01f80ea
Name
Last commit
Last update
..
cmake Loading commit data...
ekam-provider Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
samples Loading commit data...
src Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE.txt Loading commit data...
Makefile.am Loading commit data...
Makefile.ekam Loading commit data...
README.txt Loading commit data...
afl-fuzz.sh Loading commit data...
configure.ac Loading commit data...
regenerate-bootstraps.sh Loading commit data...
setup-autotools.sh Loading commit data...
setup-ekam.sh Loading commit data...