commit | 60c9391b321bc914297eb7c50d11c5fac23f49d0 | [log] [tgz] |
---|---|---|
author | Alexey Kodanev <alexey.kodanev@oracle.com> | Wed Jun 22 18:17:05 2016 +0300 |
committer | Alexey Kodanev <alexey.kodanev@oracle.com> | Thu Jul 28 13:12:27 2016 +0300 |
tree | fe114a51871bc635f0479e778e5a17c0a0b005a1 | |
parent | ad33a3dbf669a1f60f890bfa8f22d5ca1b7a4794 [diff] |
syscalls/fallocate04: add 'FALLOC_FL_INSERT_RANGE' test-case Check that it can insert space in the middle of the file. Verify new size and file's content. The flag is available since Linux 4.1. Supported FS: XFS(4.1+) & ext4(4.2+). Also fix test04() if number of blocks more than 3. Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>