diff options
author | Dave Chinner <david@fromorbit.com> | 2016-01-19 08:21:46 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-01-19 08:21:46 +1100 |
commit | 3e85286e75224fa3f08bdad20e78c8327742634e (patch) | |
tree | 52ba10e4ab7c098a49007dd080fb01a7078d365a /fs/xfs | |
parent | 168309855a7d1e16db751e9c647119fe2d2dc878 (diff) | |
download | linux-3e85286e75224fa3f08bdad20e78c8327742634e.tar.gz linux-3e85286e75224fa3f08bdad20e78c8327742634e.tar.bz2 linux-3e85286e75224fa3f08bdad20e78c8327742634e.zip |
Revert "xfs: clear PF_NOFREEZE for xfsaild kthread"
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.
cc: <stable@vger.kernel.org> # 4.4
Signed-off-by: Dave Chinner <david@fromorbit.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/xfs_trans_ail.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c index aa67339b9537..4f18fd92ca13 100644 --- 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) |