[packages/kernel] - fix suspend with xfs filesystems
arekm
arekm at pld-linux.org
Sat Jan 16 10:17:24 CET 2016
commit a56bb640f1e18887a33ea76fe7dd3eb3bb0a3ac7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Jan 16 10:17:17 2016 +0100
- fix suspend with xfs filesystems
kernel-small_fixes.patch | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
---
diff --git a/kernel-small_fixes.patch b/kernel-small_fixes.patch
index 0e43595..51ea4d8 100644
--- a/kernel-small_fixes.patch
+++ b/kernel-small_fixes.patch
@@ -361,3 +361,42 @@ _______________________________________________
xfs mailing list
xfs at oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
+From david at fromorbit.com Tue Jan 12 23:12:48 2016
+From: david at fromorbit.com (Dave Chinner)
+Date: Wed, 13 Jan 2016 16:12:48 +1100
+Subject: [PATCH] Revert "xfs: clear PF_NOFREEZE for xfsaild kthread"
+Message-ID: <1452661968-11482-1-git-send-email-david at fromorbit.com>
+Content-Length: 916
+Lines: 30
+
+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 at fromorbit.com>
+---
+ fs/xfs/xfs_trans_ail.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c
+index aa67339..4f18fd9 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)
+--
+2.5.0
+
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/a56bb640f1e18887a33ea76fe7dd3eb3bb0a3ac7
More information about the pld-cvs-commit
mailing list