]> Git Repo - linux.git/commitdiff
Revert "xfs: clear PF_NOFREEZE for xfsaild kthread"
authorDave Chinner <[email protected]>
Mon, 18 Jan 2016 21:21:46 +0000 (08:21 +1100)
committerDave Chinner <[email protected]>
Mon, 18 Jan 2016 21:21:46 +0000 (08:21 +1100)
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: <[email protected]> # 4.4
Signed-off-by: Dave Chinner <[email protected]>
Acked-by: Jiri Kosina <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
fs/xfs/xfs_trans_ail.c

index aa67339b953722b4e5c73442ac14835f0f9c4e32..4f18fd92ca13b21d8fd68e955e082d9db9a61195 100644 (file)
@@ -497,7 +497,6 @@ xfsaild(
        long            tout = 0;       /* milliseconds */
 
        current->flags |= PF_MEMALLOC;
-       set_freezable();
 
        while (!kthread_should_stop()) {
                if (tout && tout <= 20)
This page took 0.056846 seconds and 4 git commands to generate.