Andreas Gruenbacher 6862c44ec5 gfs2: Fix xattr fsync
Make sure that changing xattrs marks the corresponding inode dirty so
that a subsequent fsync will sync those changes to disk.  We set
I_DIRTY_SYNC as well as I_DIRTY_DATASYNC so that both fsync and
fdatasync will sync xattr changes: xattrs can contain information
critical to how the data can be accessed, so we don't want fdatasync
to skip them.

Fixes xfstest generic/066.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Andrew Price <anprice@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
2017-10-31 14:26:56 +01:00
..
2016-05-12 22:28:05 -04:00
2017-10-31 14:26:33 +01:00
2017-10-31 14:26:33 +01:00
2016-06-27 09:47:09 -05:00
2016-06-27 09:47:08 -05:00
2017-09-25 12:32:33 -05:00
2017-08-25 18:47:18 -05:00
2014-05-14 10:04:34 +01:00
2016-06-07 13:41:38 -06:00
2011-05-10 13:12:49 +01:00
2017-08-30 08:14:27 -05:00
2017-04-19 08:25:43 -04:00
2012-01-11 09:23:05 +00:00
2017-08-25 18:47:18 -05:00
2017-10-31 14:26:56 +01:00
2015-12-06 21:25:17 -05:00