This is a note to let you know that I've just added the patch titled Revert "xfs: clear PF_NOFREEZE for xfsaild kthread" to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: revert-xfs-clear-pf_nofreeze-for-xfsaild-kthread.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 3e85286e75224fa3f08bdad20e78c8327742634e Mon Sep 17 00:00:00 2001 From: Dave Chinner <david@xxxxxxxxxxxxx> Date: Tue, 19 Jan 2016 08:21:46 +1100 Subject: Revert "xfs: clear PF_NOFREEZE for xfsaild kthread" From: Dave Chinner <david@xxxxxxxxxxxxx> commit 3e85286e75224fa3f08bdad20e78c8327742634e upstream. This reverts commit 24ba16bb3d499c49974669cd8429c3e4138ab102 as it prevents machines from suspending. This regression occurs when the xfsaild is idle on entry to suspend, and so there s no activity to wake it from it's idle sleep and hence see that it is supposed to freeze. Hence the freezer times out waiting for it and suspend is cancelled. There is no obvious fix for this short of freezing the filesystem properly, so revert this change for now. Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx> Acked-by: Jiri Kosina <jkosina@xxxxxxx> Reviewed-by: Brian Foster <bfoster@xxxxxxxxxx> Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- fs/xfs/xfs_trans_ail.c | 1 - 1 file changed, 1 deletion(-) --- a/fs/xfs/xfs_trans_ail.c +++ b/fs/xfs/xfs_trans_ail.c @@ -497,7 +497,6 @@ xfsaild( long tout = 0; /* milliseconds */ current->flags |= PF_MEMALLOC; - set_freezable(); while (!kthread_should_stop()) { if (tout && tout <= 20) Patches currently in stable-queue which might be from david@xxxxxxxxxxxxx are queue-4.4/xfs-inode-recovery-readahead-can-race-with-inode-buffer-creation.patch queue-4.4/revert-xfs-clear-pf_nofreeze-for-xfsaild-kthread.patch queue-4.4/libxfs-pack-the-agfl-header-structure-so-xfs_agfl_size-is-correct.patch queue-4.4/xfs-log-mount-failures-don-t-wait-for-buffers-to-be-released.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html