From: Karol Kozimor <sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
To: swsusp-LcL5texQODR2DW0IdvIQ2g@public.gmane.org
Cc: SATOH Fumiyasu <fumiya-xe/Jz1KxH3h3+QwDJ9on6Q@public.gmane.org>,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: S3 and S4 fix for 2.5.x XFS
Date: Wed, 19 Feb 2003 11:14:18 +0100 [thread overview]
Message-ID: <20030219101418.GB15374@hell.org.pl> (raw)
Hi,
Eric Sandeen <sandeen-sJ/iWh9BUns@public.gmane.org> 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:
--- /usr/tmp/TmpDir.23920-0/linux/fs/xfs/pagebuf/page_buf.c_1.94 Tue Feb 18 20:43:38 2003
+++ linux/fs/xfs/pagebuf/page_buf.c Tue Feb 18 20:34:50 2003
@@ -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 +
--
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org
-------------------------------------------------------
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
next reply other threads:[~2003-02-19 10:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-19 10:14 Karol Kozimor [this message]
[not found] ` <20030219101418.GB15374-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-02-19 10:35 ` S3 and S4 fix for 2.5.x XFS Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030219101418.GB15374@hell.org.pl \
--to=sziwan-detuoxkzssqrdjvtcaxf/a@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=fumiya-xe/Jz1KxH3h3+QwDJ9on6Q@public.gmane.org \
--cc=swsusp-LcL5texQODR2DW0IdvIQ2g@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox