All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
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 06:33:08 -0400	[thread overview]
Message-ID: <20110727103308.GA20805@infradead.org> (raw)
In-Reply-To: <201107271135.13297.rjw@sisk.pl>

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().

WARNING: multiple messages have this Message-ID (diff)
From: Christoph Hellwig <hch@infradead.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Christoph <cr2005@u-club.de>,
	xfs@oss.sgi.com, Nigel Cunningham <nigel@tuxonice.net>,
	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 06:33:08 -0400	[thread overview]
Message-ID: <20110727103308.GA20805@infradead.org> (raw)
In-Reply-To: <201107271135.13297.rjw@sisk.pl>

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().

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

  reply	other threads:[~2011-07-27 10:33 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 [this message]
2011-07-27 10:33           ` Christoph Hellwig
2011-07-27 12:22           ` Nigel Cunningham
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 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-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-07  0:14                       ` [PATCH] PM / Freezer: Freeze filesystems while freezing processes (v2) Dave Chinner
2011-08-06 21:17                     ` Rafael J. Wysocki
2011-08-04  9:27                 ` [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-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 12:38           ` Christoph
2011-08-16 18:05             ` Rafael J. Wysocki
2011-08-16 18:05               ` Rafael J. Wysocki

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=20110727103308.GA20805@infradead.org \
    --to=hch@infradead.org \
    --cc=cr2005@u-club.de \
    --cc=david@fromorbit.com \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=rjw@sisk.pl \
    --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.