Files
apfstests/tests/generic
Filipe Manana b89defa9d8 generic: test fsync on inode with many hard links differently
This test is motivated by an fsync issue discovered in btrfs.
The steps to trigger the issue were:

1) remove an hard link from an inode with a large number of hard links;
2) add a new hard link;
3) add another hard link with the same name as the one removed in step 1;
4) fsync the inode.

These steps made the btrfs fsync log replay fail (with the -EOVERFLOW
error), making the filesystem unmountable, requiring the use of
btrfs-zero-log (it wipes the fsync log) in order to make the filesystem
mountable again (but losing some data/metadata).

The btrfs issue was fixed by the following linux kernel patches:

  Btrfs: fix fsync when extend references are added to an inode
  Btrfs: fix fsync log replay for inodes with a mix of regular refs and extrefs

This issue was present in btrfs since the extrefs (extend references)
feature was added (2012).

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2015-01-21 16:01:25 +11:00
..
2014-11-10 18:06:23 +11:00
2013-04-04 06:55:21 -05:00
2014-08-13 11:16:49 +10:00
2014-04-11 10:18:20 +10: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-12-12 11:26:15 +11:00
2014-12-12 11:26:15 +11:00
2014-12-12 11:26:15 +11:00
2014-09-29 12:58:24 +10:00
2014-12-12 11:26:15 +11:00
2014-12-12 11:26:15 +11:00
2014-09-29 13:26:32 +10:00
2014-09-29 13:26:32 +10:00
2014-10-14 17:40:34 +11:00
2014-10-14 17:40:34 +11:00
2014-12-16 10:53:57 +11:00
2015-01-21 15:58:23 +11:00
2015-01-21 15:58:23 +11:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2014-11-10 18:06:23 +11:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2014-11-10 18:06:23 +11:00
2014-09-29 13:07:26 +10:00
2013-04-04 06:55:21 -05:00
2014-08-13 11:20:59 +10:00
2014-04-22 10:46:49 +10:00
2013-04-04 06:55:21 -05:00
2014-10-14 17:07:52 +11:00
2014-12-16 10:53:57 +11:00
2014-12-16 10:53:57 +11:00
2014-10-14 17:07:52 +11:00
2014-12-16 10:53:57 +11:00
2013-11-11 09:47:31 -06:00
2014-11-10 18:06:23 +11:00
2014-09-29 13:07:26 +10:00
2014-12-16 10:53:57 +11:00
2014-10-14 17:07:52 +11:00
2014-12-12 10:55:24 +11:00
2014-01-20 12:47:56 +11:00
2014-12-12 11:26:15 +11:00
2014-12-16 10:53:57 +11:00
2014-08-13 11:19:33 +10:00