Files
apfstests/tests/btrfs
Filipe Manana bdad282d47 btrfs: clone a hole post eof when using NO_HOLES feature
Test that when using the NO_HOLES feature, if we truncate down a
file, clone a file range covering only a hole into an offset beyond
the current file size, and then fsync the file, after a power
failure we get the expected file content and we do not get stale
data corresponding to file extents that existed before truncating
the file.

This currently fails on btrfs and is fixed by commit 3660d0bcdb82
("btrfs: fix stale data exposure after cloning a hole with NO_HOLES
enabled")

[Eryu: add the commit id of the patch fixing the bug]

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2021-03-07 22:40:31 +08:00
..
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-13 22:19:49 +08:00
2020-09-21 01:16:50 +08:00
2013-10-12 19:30:19 -05:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2013-12-03 10:29:29 +11:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-08-31 00:04:31 +08:00
2020-09-21 01:16:50 +08:00
2014-02-03 10:06:14 +11:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2016-01-11 15:05:20 +11:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2017-01-27 16:06:12 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2015-04-01 11:32:01 +11:00
2020-09-21 01:16:50 +08:00
2015-04-01 11:35:44 +11:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2015-09-21 13:06:18 +10:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2016-07-19 12:20:43 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2017-02-15 18:02:15 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2018-06-03 22:16:15 +08:00
2020-10-25 14:25:32 +08:00
2020-09-21 01:16:50 +08:00
2018-06-03 22:16:15 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-02 23:37:39 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2019-10-25 07:47:14 +08:00
2020-09-21 01:16:50 +08:00
2019-10-25 07:47:14 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-12-21 00:18:42 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-21 01:16:50 +08:00
2020-09-13 23:10:09 +08:00
2020-10-25 14:29:29 +08:00