]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
tests: PAGE_SIZE larger than blocksize with hole
authorAndreas Dilger <andreas.dilger@intel.com>
Sat, 23 Jun 2018 20:26:41 +0000 (16:26 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 23 Jun 2018 21:23:57 +0000 (17:23 -0400)
commit42d3e8cc4bd207badeaf79b84785bac61e10a72b
treee743db006fe739894d747820decf62663fca0930
parent8d541f641ef3861276f7138b2f3e601036f03110
tests: PAGE_SIZE larger than blocksize with hole

Verify correct operation in the case of writing files with allocated
blocks at the end of the file beyond i_size.  This can happen for
PAGE_SIZE > blocksize, or through fallocate().

The f_eofblocks thest checks quite the same situation, but for broken
file system. This test is about correct file.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Artem Blagodarenko <artem.blagodarenko@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/f_pgsize_gt_blksize/expect.1 [new file with mode: 0644]
tests/f_pgsize_gt_blksize/expect.2 [new file with mode: 0644]
tests/f_pgsize_gt_blksize/name [new file with mode: 0644]
tests/f_pgsize_gt_blksize/script [new file with mode: 0644]