S3 and S4 fix for 2.5.x XFS
Subsystems (3)
Hi,
Eric Sandeen <sandeen-sJ/[email protected]> wrote a fix for 2.5.x page_buf.c that is similar to that for 2.4.x and allows for pagebufd to enter refrigerator correctly. It seems to work fine for me (2.5.61), though I also suffer
from some mysterious XFS problems that need further inquiring.
Everyone using XFS and S3 or S4 is highly encouraged to test this patch on a 2.5.x kernel. The patch is below:
fs/xfs/pagebuf/page_buf.c Tue Feb 18 20:34:50 2003 renamed from usr/tmp/TmpDir.23920-0/linux/fs/xfs/pagebuf/page_buf.c_1.94 Tue Feb 18 20:43:38 2003 +4 -0
@@ -57,6 +57,7 @@ #include <linux/sysctl.h> #include <linux/proc_fs.h> #include <linux/workqueue.h> +#include <linux/suspend.h> #include <support/debug.h> #include <support/kmem.h>
@@ -1591,6 +1592,9 @@ INIT_LIST_HEAD(&tmp); do { + if (current->flags & PF_FREEZE) + refrigerator(PF_IOTHREAD); + if (pbd_active == 1) { del_timer(&pb_daemon_timer); pb_daemon_timer.expires = jiffies +
Signature · 9 lines
Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/[email protected] ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge
A message that is not in the archive (sent off-list or not yet received): 20030219101418.GB15374-DETuoxkZsSqrDJvtcaxF/[email protected]
Hi!
Quoted 7 lines
Eric Sandeen <sandeen-sJ/[email protected]> wrote a fix for 2.5.x
page_buf.cthat is similar to that for 2.4.x and allows for pagebufd to enter refrigerator correctly. It seems to work fine for me (2.5.61), though I also suffer
from some mysterious XFS problems that need further inquiring.Everyone using XFS and S3 or S4 is highly encouraged to test this patch on a 2.5.x kernel. The patch is below:
Patch looks good; submit it to trivial if it looks like it works...
Pavel
Quoted 24 lines
fs/xfs/pagebuf/page_buf.c Tue Feb 18 20:34:50 2003 renamed from usr/tmp/TmpDir.23920-0/linux/fs/xfs/pagebuf/page_buf.c_1.94 Tue Feb 18 20:43:38 2003 +4
-0@@ -57,6 +57,7 @@ #include <linux/sysctl.h> #include <linux/proc_fs.h> #include <linux/workqueue.h> +#include <linux/suspend.h> #include <support/debug.h> #include <support/kmem.h>@@ -1591,6 +1592,9 @@ INIT_LIST_HEAD(&tmp); do { + if (current->flags & PF_FREEZE) + refrigerator(PF_IOTHREAD); + if (pbd_active == 1) { del_timer(&pb_daemon_timer); pb_daemon_timer.expires = jiffies +
Signature · 9 lines
Casualities in World Trade Center: ~3k dead inside the building, cryptography in U.S.A. and free speech in Czech Republic. ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge