From: Nigel Cunningham <ncunningham@crca.org.au>
To: Nick Davies <nickavies@yahoo.com>
Cc: linux-pm@lists.linux-foundation.org,
Stefan Seyfried <stefan.seyfried@googlemail.com>
Subject: Re: Freeze the FUSE on Wubi
Date: Sat, 17 Oct 2009 21:08:20 +1100 [thread overview]
Message-ID: <4AD99794.2090507@crca.org.au> (raw)
In-Reply-To: <493410.12916.qm@web112815.mail.gq1.yahoo.com>
Hi.
Nick Davies wrote:
>> Hi.
>>
>> Stefan Seyfried wrote:
>>> On Fri, 16 Oct 2009 01:54:10 -0700 (PDT)
>>> Nick Davies wrote:
>>>
>>>> Dear all,
>>>>
>>>> I am trying to debug the suspend/hibernate on Wubi(The Ubuntu
>>>> installer for Windows) these day. Since Ubuntu sits on top of NTFS
>>>> partition with the help of ntfs-3g via FUSE, I think it should not
>>>> pass the file system freezing stage, but in fact, the suspend works
>>>> well on my machine. So I am curious that how can they achieve that?
>>>> Just keep the FUSE alive to the end of the suspend? Any ideas are
>>>> welcome.
>>> (Disclaimer: all below is AFAIK and it might be slightly wrong)
>>> On swapon(), a block map of the file / partition is made by the kernel
>>> and later I/O to the swap area are not going through the filesystem
>>> layer. So FUSE is not involved in the suspend process at the stage of
>>> image writing.
>> It's exactly right.
> Hi,
>
> Thanks for all your quick response. That is to say, the suspend itself has no conflict with the FUSE when do the freezing?
>
> To Nigel,
> I've tried the TuxOnIce project, unfortunately I can't do suspend now. According to the dmesg log, it hangs at the freezing file system.
> I check some codes of your patch. You've patched freeze_filesystems() to the fs/buffer.c file, so I guess there may be something wrong with the freeze order in that subroutine with my situation(OS sits on top of NTFS using ntfs-3g via FUSE). How your opinions?
Hmm. That's interesting - I'd expect things to be the other way around.
Can you provide the dmesg?
Regards,
Nigel
next prev parent reply other threads:[~2009-10-17 10:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-16 8:54 Freeze the FUSE on Wubi Nick Davies
2009-10-16 9:58 ` Stefan Seyfried
2009-10-16 11:27 ` Nigel Cunningham
2009-10-17 9:16 ` Nick Davies
2009-10-17 10:08 ` Nigel Cunningham [this message]
2009-10-17 10:55 ` Nick Davies
2009-10-17 21:02 ` Nigel Cunningham
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=4AD99794.2090507@crca.org.au \
--to=ncunningham@crca.org.au \
--cc=linux-pm@lists.linux-foundation.org \
--cc=nickavies@yahoo.com \
--cc=stefan.seyfried@googlemail.com \
/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