|
From: Mimi Z. <zo...@li...> - 2016-02-18 18:35:01
|
Hi Patrick, On Thu, 2016-02-18 at 12:32 -0500, Mimi Zohar wrote: > On Thu, 2016-02-18 at 15:41 +0100, Patrick Ohly wrote: > > On Thu, 2016-02-18 at 07:32 -0500, Mimi Zohar wrote: > > If anyone has suggestions for debugging the long delay until data gets > > flushed, then I am open for suggestions. I'm still seeing that even with > > "data=journal", it's only that the effect is less drastic. > > Currently, S_SYNC isn't set. Setting it looks like it would resolve the > problem. > fs/ext4/xattr.c: > if (IS_SYNC(inode)) > ext4_handle_sync(handle); Changing 'if (IS_SYNC(inode))" to "if (IS_SYNC(inode) || IS_IMA(inode))" in both places should fix the problem. Mimi |