All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nigel Cunningham <nigel@tuxonice.net>
To: Christoph Hellwig <hch@infradead.org>
Cc: Christoph <cr2005@u-club.de>, Dave Chinner <david@fromorbit.com>,
	xfs@oss.sgi.com,
	Linux PM mailing list <linux-pm@lists.linux-foundation.org>
Subject: Re: PM / hibernate xfs lock up / xfs_reclaim_inodes_ag
Date: Wed, 27 Jul 2011 22:22:47 +1000	[thread overview]
Message-ID: <4E300317.7090108@tuxonice.net> (raw)
In-Reply-To: <20110727103308.GA20805@infradead.org>

Hi.

On 27/07/11 20:33, Christoph Hellwig wrote:
> On Wed, Jul 27, 2011 at 11:35:13AM +0200, Rafael J. Wysocki wrote:
>> The Pavel's objection, if I remember it correctly, was that some
>> (or the majority of?) filesystems didn't implement the freezing operation,
>> so they would be more vulnerable to data loss in case of a failing hibernation
>> after this change.  However, that's better than actively causing pain to XFS
>> users.
> 
> The objection never made sense and only means he never read the code.
> freeze_super (or freeze_bdev back then) always does a sync_filesystem
> before even checking if we have a freeze method, and sync_filesystem is
> what we iterate over for each superblock in sync().

I've had freezing supers in TOI for a couple of years now and it has
only ever helped. To be honest, if you have a ton of dirty pages, it
does result in a big delay, but that's the worst of it.

Regards,

Nigel
-- 
Evolution (n): A hypothetical process whereby improbable
events occur with alarming frequency, order arises from chaos, and
no one is given credit.

WARNING: multiple messages have this Message-ID (diff)
From: Nigel Cunningham <nigel@tuxonice.net>
To: Christoph Hellwig <hch@infradead.org>
Cc: Christoph <cr2005@u-club.de>,
	xfs@oss.sgi.com, "Rafael J. Wysocki" <rjw@sisk.pl>,
	Pavel Machek <pavel@ucw.cz>,
	Linux PM mailing list <linux-pm@lists.linux-foundation.org>
Subject: Re: PM / hibernate xfs lock up / xfs_reclaim_inodes_ag
Date: Wed, 27 Jul 2011 22:22:47 +1000	[thread overview]
Message-ID: <4E300317.7090108@tuxonice.net> (raw)
In-Reply-To: <20110727103308.GA20805@infradead.org>

Hi.

On 27/07/11 20:33, Christoph Hellwig wrote:
> On Wed, Jul 27, 2011 at 11:35:13AM +0200, Rafael J. Wysocki wrote:
>> The Pavel's objection, if I remember it correctly, was that some
>> (or the majority of?) filesystems didn't implement the freezing operation,
>> so they would be more vulnerable to data loss in case of a failing hibernation
>> after this change.  However, that's better than actively causing pain to XFS
>> users.
> 
> The objection never made sense and only means he never read the code.
> freeze_super (or freeze_bdev back then) always does a sync_filesystem
> before even checking if we have a freeze method, and sync_filesystem is
> what we iterate over for each superblock in sync().

I've had freezing supers in TOI for a couple of years now and it has
only ever helped. To be honest, if you have a ton of dirty pages, it
does result in a big delay, but that's the worst of it.

Regards,

Nigel
-- 
Evolution (n): A hypothetical process whereby improbable
events occur with alarming frequency, order arises from chaos, and
no one is given credit.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2011-07-27 12:22 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-12 16:05 PM / hibernate xfs lock up / xfs_reclaim_inodes_ag Christoph
2011-07-13  0:03 ` Dave Chinner
2011-07-26 20:28   ` Rafael J. Wysocki
2011-07-26 20:28     ` Rafael J. Wysocki
2011-07-27  0:45     ` Dave Chinner
2011-07-27  0:45       ` Dave Chinner
2011-07-27  9:35       ` Rafael J. Wysocki
2011-07-27  9:35         ` Rafael J. Wysocki
2011-07-27 10:33         ` Christoph Hellwig
2011-07-27 10:33           ` Christoph Hellwig
2011-07-27 12:22           ` Nigel Cunningham [this message]
2011-07-27 12:22             ` Nigel Cunningham
2011-08-03 21:15             ` [RFC][PATCH] PM / Freezer: Freeze filesystems along with freezing processes (was: Re: PM / hibernate xfs lock up / xfs_reclaim_inodes_ag) Rafael J. Wysocki
2011-08-03 21:15               ` Rafael J. Wysocki
2011-08-03 17:29               ` Pavel Machek
2011-08-03 17:29               ` Pavel Machek
2011-08-04  9:27                 ` Rafael J. Wysocki
2011-08-04  9:27                 ` Rafael J. Wysocki
2011-08-04  9:27                   ` Rafael J. Wysocki
2011-08-04 22:25                   ` Rafael J. Wysocki
2011-08-04 22:25                   ` Rafael J. Wysocki
2011-08-04 22:25                     ` Rafael J. Wysocki
2011-08-06 21:17                     ` [PATCH] PM / Freezer: Freeze filesystems while freezing processes (v2) Rafael J. Wysocki
2011-08-06 21:17                     ` Rafael J. Wysocki
2011-08-06 21:17                       ` Rafael J. Wysocki
2011-08-07  0:14                       ` Dave Chinner
2011-08-07  0:14                       ` Dave Chinner
2011-08-07  0:14                         ` Dave Chinner
2011-08-08 21:11                         ` Rafael J. Wysocki
2011-08-08 21:11                         ` Rafael J. Wysocki
2011-08-08 21:11                           ` Rafael J. Wysocki
2011-08-14  0:16                         ` Rafael J. Wysocki
2011-08-14  0:16                           ` Rafael J. Wysocki
2011-08-14  0:16                         ` Rafael J. Wysocki
2011-09-24 22:56                         ` Rafael J. Wysocki
2011-09-24 22:56                           ` Rafael J. Wysocki
2011-09-24 22:56                           ` Rafael J. Wysocki
2011-09-25  5:32                           ` Nigel Cunningham
2011-09-25  5:32                             ` Nigel Cunningham
2011-09-25 13:37                             ` Rafael J. Wysocki
2011-09-25 13:37                               ` Rafael J. Wysocki
2011-09-25 10:38                           ` Christoph
2011-09-25 10:38                             ` Christoph
2011-09-25 13:32                             ` Rafael J. Wysocki
2011-09-25 13:32                               ` Rafael J. Wysocki
2011-09-25 21:57                               ` Christoph
2011-09-25 21:57                                 ` Christoph
2011-09-25 22:10                                 ` Rafael J. Wysocki
2011-09-25 22:10                                   ` Rafael J. Wysocki
2011-09-26  5:27                                   ` Christoph
2011-09-26  5:27                                     ` Christoph
2011-10-22 15:14                                   ` Christoph
2011-10-22 15:14                                     ` Christoph
2011-10-22 21:35                                     ` Rafael J. Wysocki
2011-10-22 21:35                                       ` Rafael J. Wysocki
2011-11-16 13:49                                       ` Ferenc Wagner
2011-11-16 13:49                                         ` Ferenc Wagner
2011-11-16 21:50                                         ` Rafael J. Wysocki
2011-11-16 21:50                                           ` Rafael J. Wysocki
2011-09-25 13:40                           ` [Update][PATCH] PM / Hibernate: Freeze kernel threads after preallocating memory Rafael J. Wysocki
2011-09-25 13:40                             ` Rafael J. Wysocki
2011-08-03 21:15             ` [RFC][PATCH] PM / Freezer: Freeze filesystems along with freezing processes (was: Re: PM / hibernate xfs lock up / xfs_reclaim_inodes_ag) Rafael J. Wysocki
2011-08-10 21:43         ` PM / hibernate xfs lock up / xfs_reclaim_inodes_ag Pavel Machek
2011-08-10 21:43           ` Pavel Machek
2011-08-16 12:38           ` Christoph
2011-08-16 18:05             ` Rafael J. Wysocki
2011-08-16 18:05               ` Rafael J. Wysocki
2011-08-16 12:38           ` Christoph

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=4E300317.7090108@tuxonice.net \
    --to=nigel@tuxonice.net \
    --cc=cr2005@u-club.de \
    --cc=david@fromorbit.com \
    --cc=hch@infradead.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=xfs@oss.sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.