Files
apfstests/tests/generic
Filipe Manana 2b621418f4 generic: test fsync after fallocate on a very small file
Test that if we have a very small file, with a size smaller than the
block size, then fallocate a very small range within the block size
but past the file's current size, fsync the file and then power
fail, after mounting the filesystem all the file data is there and
the file size is correct.

This test is motivated by a failure in btrfs where it triggered an
assertion when using the no-holes feature, that is, when running
with MKFS_OPTIONS="-O no-holes". The btrfs issue is fixed by a patch
for the linux kernel titled:

 "Btrfs: fix assertion on fsync of regular file when using no-holes
  feature"

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2018-10-21 17:31:48 +08:00
..
2018-09-30 13:57:50 +08:00
2015-12-21 18:01:47 +11:00
2014-04-14 10:35:27 +10:00
2014-04-14 11:19:23 +10:00
2014-04-14 10:37:32 +10:00
2014-04-28 10:55:12 +10:00
2014-05-27 12:07:17 +10:00
2014-06-18 09:31:38 +10:00
2014-09-29 12:58:24 +10:00
2014-09-29 13:26:32 +10:00
2014-10-14 17:40:34 +11:00
2015-01-21 15:58:23 +11:00
2015-03-18 14:58:51 +11:00
2018-10-14 22:49:45 +08:00
2015-04-02 09:41:15 +11:00
2017-07-24 12:34:52 +08:00
2017-07-24 12:13:35 +08:00
2017-07-24 12:17:42 +08:00
2017-07-24 12:23:39 +08:00
2018-09-30 13:57:50 +08:00
2018-09-30 13:57:50 +08:00
2015-08-04 14:10:49 +10:00
2018-09-30 13:57:50 +08:00
2015-09-21 13:06:18 +10:00
2018-09-30 13:57:50 +08:00
2018-09-30 13:57:50 +08:00
2018-09-30 13:57:50 +08:00
2015-12-21 18:13:37 +11:00
2015-12-21 18:13:37 +11:00
2015-12-21 18:13:37 +11:00
2015-12-21 18:13:37 +11:00
2018-09-30 13:57:50 +08:00
2018-09-30 13:57:50 +08:00
2018-09-30 13:57:50 +08:00
2018-09-30 13:57:50 +08:00
2016-02-08 09:27:14 +11:00
2014-12-16 10:53:57 +11:00
2018-08-19 20:13:11 +08:00
2016-02-12 09:39:05 -08:00
2016-06-28 11:30:49 +08:00
2014-01-20 12:47:56 +11:00
2014-08-13 11:19:33 +10:00
2018-08-19 20:13:11 +08:00
2016-02-12 09:39:05 -08:00
2018-08-19 20:13:11 +08:00
2016-02-12 09:39:05 -08:00
2016-02-12 09:39:05 -08:00
2016-02-12 09:39:05 -08:00
2016-03-23 17:39:11 +11:00
2016-03-23 17:39:11 +11:00
2016-05-09 10:55:24 +10:00
2016-05-09 16:03:29 +10:00
2016-05-09 16:03:29 +10:00
2016-05-09 16:03:29 +10:00
2016-06-15 15:44:49 +08:00
2016-06-15 15:44:49 +08:00
2016-06-15 16:35:20 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-08-26 15:45:00 +08:00
2018-06-13 09:48:53 +08:00
2016-12-24 16:47:12 +08:00
2016-12-24 20:21:55 +08:00
2017-02-15 17:55:41 +08:00
2017-02-15 17:55:57 +08:00
2017-03-02 12:26:17 +08:00
2017-04-11 12:34:24 +08:00
2017-05-12 21:13:19 +08:00
2017-05-17 20:21:59 +08:00
2017-08-15 14:37:59 +08:00
2017-09-09 18:15:53 +08:00
2017-09-09 18:15:53 +08:00
2017-09-09 18:15:53 +08:00
2017-09-09 18:15:53 +08:00
2018-09-30 13:57:50 +08:00
2017-09-30 00:53:30 +08:00
2017-12-14 12:39:57 +08:00
2017-12-24 21:30:58 +08:00
2018-02-16 01:28:32 +08:00
2018-05-21 16:12:39 +08:00
2018-07-12 13:12:23 +08:00
2018-09-09 22:16:05 +08:00
2018-10-14 23:05:26 +08:00
2018-10-14 23:05:26 +08:00