On 9/10/15 6:45 PM, Theodore Ts'o wrote: > On Thu, Sep 10, 2015 at 10:09:16PM +0200, Dušan Čolić wrote: >> >> There are various xfstests that try to fill up whole partition but >> they give false positives on file systems with transparent compression >> because they use compressible test files like input from /dev/zero. >> Different tests use different ways to generate test file(s) so what >> would be the preferred way to generate incompressible test files? Use >> /dev/urandom instead /dev/zero? > > I would expect that most tests would use fallocate to allocate space > for ENOSPC tests, since it's much faster than writing all zeros. Several of those tests are generic ones, designed to work on filesystems like ext3 which don't support fallocate... -Eric -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html