Files
apfstests/tests/btrfs
Jeff Layton bb8de58ca1 btrfs: add test for seeing unseen fsync errors on newly open files
This adds a regression test for the following kernel patch:

    b4678df184b3 ("errseq: Always report a writeback error once")

This is motivated by some rather odd behavior done by the PostgreSQL
project. The main database writers will offload the fsync calls to a
separate process, which can open files after a writeback error has
already occurred.

This used to work with older kernels that reported the error to only
one fd, but with the errseq_t changes we lost the ability to see
errors that occurred before the open. The above patch restores that
behavior.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2018-05-13 00:28:35 +08:00
..
2017-02-07 12:15:33 +08:00
2017-04-24 18:01:33 +08:00
2018-04-27 14:22:37 +08:00
2013-10-12 19:30:19 -05:00
2014-12-12 11:26:15 +11:00
2014-12-12 11:26:15 +11:00
2014-12-12 11:26:15 +11:00
2017-03-13 11:59:04 +08:00
2017-02-07 12:15:33 +08:00
2013-12-03 10:29:29 +11:00
2013-12-03 10:29:31 +11:00
2016-04-05 11:46:12 +10:00
2014-02-03 10:06:14 +11:00
2016-02-19 10:49:17 +11:00
2016-01-11 15:05:20 +11:00
2016-02-19 10:49:17 +11:00
2015-10-14 14:19:34 +11:00
2015-10-14 14:19:34 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2017-01-27 16:06:12 +08:00
2017-01-27 16:06:12 +08:00
2016-02-19 10:49:17 +11:00
2014-08-13 10:59:59 +10:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2015-04-01 11:38:40 +11:00
2015-04-01 11:32:01 +11:00
2017-03-31 13:09:27 +08:00
2015-04-01 11:35:44 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2015-09-21 13:06:18 +10:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2017-11-03 19:04:49 +08:00
2016-07-19 12:20:43 +08:00
2016-12-28 19:19:03 +08:00
2017-02-15 18:02:15 +08:00
2017-11-15 14:45:24 +08:00
2017-11-15 14:45:24 +08:00