From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Tejun Heo <tj@kernel.org>
Cc: Alan Stern <stern@rowland.harvard.edu>,
Linus Torvalds <torvalds@linux-foundation.org>,
Kernel development list <linux-kernel@vger.kernel.org>,
linux-ide@vger.kernel.org,
Linux-pm mailing list <linux-pm@vger.kernel.org>
Subject: Re: No freezing of kernel threads (was: Re: [GIT PULL] libata fixes for v3.13-rc5)
Date: Fri, 27 Dec 2013 00:23:10 +0100 [thread overview]
Message-ID: <2054754.LytUAbbREV@vostro.rjw.lan> (raw)
In-Reply-To: <20131226190120.GC16483@htj.dyndns.org>
On Thursday, December 26, 2013 02:01:20 PM Tejun Heo wrote:
> Hey,
>
> On Thu, Dec 26, 2013 at 01:42:29PM -0500, Alan Stern wrote:
> > In the case of hibernation, it's not so simple. We do need to perform
> > I/O, in order to save the memory image. But we also need to avoid
> > unnecessary I/O, in order to keep the on-disk data consistent with the
> > data in the memory image. You probably can't accomplish this at the
> > device driver or subsystem level.
>
> That was what I assumed too but Rafael tells me it has nothing to do
> with hibernation.
It doesn't prevent on-disk data corruption from happening in case of a failing
hibernation. In case of a successful hibernation it is key to keep on-disk
data in sync with the contents of the image, but relying on the freezing
for that is rather not a winning strategy, so to speak. It would be better
to freeze filesystems instead (which has been discussed in another thread
recently).
Thanks,
Rafael
next prev parent reply other threads:[~2013-12-26 23:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-24 14:21 [GIT PULL] libata fixes for v3.13-rc5 Tejun Heo
2013-12-24 21:55 ` Alan Stern
2013-12-25 14:45 ` Rafael J. Wysocki
2013-12-25 14:57 ` Alan Stern
2013-12-25 22:12 ` Rafael J. Wysocki
2013-12-26 3:29 ` No freezing of kernel threads (was: Re: [GIT PULL] libata fixes for v3.13-rc5) Alan Stern
2013-12-26 4:18 ` Tejun Heo
2013-12-26 15:05 ` Rafael J. Wysocki
2013-12-26 16:05 ` Tejun Heo
2013-12-26 18:42 ` Alan Stern
2013-12-26 19:01 ` Tejun Heo
2013-12-26 23:23 ` Rafael J. Wysocki [this message]
2013-12-27 2:14 ` Alan Stern
2013-12-27 2:21 ` Tejun Heo
2013-12-26 23:49 ` Rafael J. Wysocki
2014-01-11 21:15 ` 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=2054754.LytUAbbREV@vostro.rjw.lan \
--to=rjw@rjwysocki.net \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
--cc=tj@kernel.org \
--cc=torvalds@linux-foundation.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