[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140515030404.GV26353@dastard>
Date: Thu, 15 May 2014 13:04:04 +1000
From: Dave Chinner <david@...morbit.com>
To: Theodore Ts'o <tytso@....edu>, Mateusz Guzik <mguzik@...hat.com>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
Josef Bacik <jbacik@...com>, Jan Kara <jack@...e.cz>,
Al Viro <viro@...IV.linux.org.uk>,
Eric Sandeen <esandeen@...hat.com>
Subject: Re: [PATCH 2/2] fs: print a message when freezing/unfreezing
filesystems
On Wed, May 14, 2014 at 10:17:49PM -0400, Theodore Ts'o wrote:
> On Thu, May 15, 2014 at 07:54:57AM +1000, Dave Chinner wrote:
> > On Tue, May 13, 2014 at 08:31:02PM +0200, Mateusz Guzik wrote:
> > > This helps hang troubleshooting efforts when only dmesg is available.
> >
> > I really don't think that spamming dmesg every time a filesystem is
> > frozen or thawed is a good idea. This happens a *lot* when systems
> > are using snapshots, and for the most part nobody cares about
> > freeze/thaw cycles because they almost always work just fine.
>
> The problems people are worried about are when there is freezing and
> unfreezing taking place in combination with a machine-level
> suspend/resume cycle, no? What if we only spammed dmesg when doing a
> suspend/resume?
Filesystems are not frozen by power management based suspend/resume
cycles. That uses sync and then assumes that it can't race with
with the filesystem doing metadata writeback while the suspend code
is creating the freeze image. Hence there won't by any syslog
spam because freeze is not used. ;)
Sure, I've been advocating that suspend should use freezing rather
than sync for years, but that's never happened...
Cheers,
Dave.
--
Dave Chinner
david@...morbit.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists