From: Nigel Cunningham <nigel@nigel.suspend2.net>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: suspend2-devel@lists.tuxonice.net,
"The place to get help!" <suspend2-users@lists.tuxonice.net>,
LKML <linux-kernel@vger.kernel.org>,
pm list <linux-pm@lists.linux-foundation.org>
Subject: Freezing filesystems (Was Re: What's in store for 2008 for TuxOnIce?)
Date: Wed, 02 Jan 2008 10:54:18 +1100 [thread overview]
Message-ID: <477AD2AA.4070707@nigel.suspend2.net> (raw)
In-Reply-To: <200801020021.37259.rjw@sisk.pl>
Hi.
Rafael J. Wysocki wrote:
> On Tuesday, 1 of January 2008, Nigel Cunningham wrote:
>> Hi all.
>
> Hi Nigel,
Gidday :)
>> With the start of a new year, I suppose it's a good time to think about
>> what I'd like to do with TuxOnIce this year and see what feedback I get.
>>
>> First up, I'm thinking about closing the mailing lists and asking people
>> to use LKML instead for reporting issues and so on. I'm thinking about
>> this because it will help with allowing people who work on mainline to
>> see how stable (or otherwise!) TuxOnIce is now. It should also help when
>> (as often happens) bug reports aren't actually issues with the patch,
>> but with vanilla (ie drivers).
>
> I would also like the TuxOnIce issues related to drivers, ACPI, etc. to go to
> one of the kernel-related lists, but I think linux-pm may be better for that
> due to the much lower traffic.
I guess that makes sense. I guess people can always be referred to LKML
for the issues where the appropriate person isn't on linux-pm.
>> Perhaps it will also help with whatever effort I find time to make towards
>> convincing Andrew that it really does have significant advantages over
>> [u]swsusp and kexec based hibernation.
>>
>> Secondly, I'm planning on moving the website soonish. It's taken longer
>> than I planned because it will be sharing with another server I'm
>> maintaining, and it has taken longer than expected to find good hosting
>> for the other server (which was done first). Now that I'm happy with the
>> other server's state, I'm hoping to start shifting
>> suspend2.net/tuxonice.net soon.
>>
>> For those who might be looking for hosting themselves, I'm using
>> slicehost. I initially tried GoDaddy, but had terrible service, problems
>> with draconian limits on the volume of outgoing email (1000/day by
>> default - useless if you're doing mailing lists) and unexpected,
>> unexplained delays in mail delivery through the SMTP delay they force
>> you to use. Slicehost, on the other hand, are terrific to deal with in
>> everyway. If you sign up with them because of this email, please
>> consider putting my email (nigel at suspend2.net) as the referrer - I
>> then get a discount on the cost of the hosting.
>>
>> Third, regarding the patch itself, I'm taking my time in working towards
>> the 3.0 release. We don't have any major bugs with 3.0-rc3 reported, but
>> I have some things I want to complete before the final release:
>> * see it well tested;
>> * get a finished initial version of the cluster support;
>> * finish completing support for the new resume-from-other kernels
>> functionality that Rafael has added in 2.6.24. (We can resume from the
>> same kernel at the moment, but I need to convince myself that nosave
>> data is properly handled).
>
> Have you finished the support for freezing filesystems before freezing tasks
> that we talked about some time ago?
Hmm. I've had too many things going through my little brain since then.
What I currently have is support for freezing fuse filesystems
separately. It looks like:
int freeze_processes(void)
{
int error;
printk("Stopping fuse filesystems.\n");
freeze_filesystems(FS_FREEZER_FUSE);
freezer_state = FREEZER_FILESYSTEMS_FROZEN;
printk("Freezing user space processes ... ");
error = try_to_freeze_tasks(FREEZER_USER_SPACE);
if (error)
goto Exit;
printk("done.\n");
sys_sync();
printk("Stopping normal filesystems.\n");
freeze_filesystems(FS_FREEZER_NORMAL);
freezer_state = FREEZER_USERSPACE_FROZEN;
printk("Freezing remaining freezable tasks ... ");
error = try_to_freeze_tasks(FREEZER_KERNEL_THREADS);
if (error)
goto Exit;
printk("done.");
freezer_state = FREEZER_FULLY_ON;
Exit:
BUG_ON(in_atomic());
printk("\n");
return error;
}
(I'm not yet worrying about ext3 on fuse or such like, but it shouldn't
be hard to extend the model to do that).
Nigel
next prev parent reply other threads:[~2008-01-01 23:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-01 22:36 What's in store for 2008 for TuxOnIce? Nigel Cunningham
2008-01-01 23:21 ` Rafael J. Wysocki
2008-01-01 23:54 ` Nigel Cunningham [this message]
[not found] ` <20080102010325.GC13288@mit.edu>
2008-01-02 1:22 ` [Suspend2-devel] Freezing filesystems (Was Re: What's in store for 2008 for TuxOnIce?) Nigel Cunningham
2008-01-02 18:55 ` Bill Davidsen
[not found] ` <200801021401.23492.rjw@sisk.pl>
2008-01-02 21:09 ` [Suspend2-devel] " Nigel Cunningham
[not found] ` <200801022235.05476.Martin@lichtvoll.de>
2008-01-02 21:48 ` [Suspend2-users] " Nigel Cunningham
2008-01-01 23:30 ` Reboot problem (was: Re: [Suspend2-devel] " Christian Hesse
2008-01-01 23:58 ` [Suspend2-devel] Reboot problem Nigel Cunningham
2008-01-02 0:24 ` Christian Hesse
2008-01-02 13:09 ` Rafael J. Wysocki
2008-01-02 23:41 ` Christian Hesse
2008-01-02 13:22 ` [Suspend2-devel] What's in store for 2008 for TuxOnIce? Gnata Xavier
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=477AD2AA.4070707@nigel.suspend2.net \
--to=nigel@nigel.suspend2.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=rjw@sisk.pl \
--cc=suspend2-devel@lists.tuxonice.net \
--cc=suspend2-users@lists.tuxonice.net \
/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
Powered by JetHome