[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171130233033.GO5858@dastard>
Date: Fri, 1 Dec 2017 10:30:33 +1100
From: Dave Chinner <david@...morbit.com>
To: "Rafael J. Wysocki" <rafael@...nel.org>
Cc: Jan Kara <jack@...e.cz>, "Luis R. Rodriguez" <mcgrof@...nel.org>,
Al Viro <viro@...iv.linux.org.uk>, bart.vanassche@....com,
ming.lei@...hat.com, Ted Ts'o <tytso@....edu>,
"Darrick J. Wong" <darrick.wong@...cle.com>,
Jiri Kosina <jikos@...nel.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Pavel Machek <pavel@....cz>, Len Brown <len.brown@...el.com>,
linux-fsdevel@...r.kernel.org,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Juergen Gross <jgross@...e.com>,
Todd Brandt <todd.e.brandt@...ux.intel.com>, nborisov@...e.com,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Oliver Neukum <ONeukum@...e.com>, oleksandr@...alenko.name,
Oleg Antonyan <oleg.b.antonyan@...il.com>,
Yu Chen <yu.chen.surf@...il.com>,
Dan Williams <dan.j.williams@...el.com>,
Linux PM <linux-pm@...r.kernel.org>,
linux-block@...r.kernel.org, linux-xfs@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 07/11] xfs: remove not needed freezing calls
On Thu, Nov 30, 2017 at 09:32:53PM +0100, Rafael J. Wysocki wrote:
> On Thu, Nov 30, 2017 at 5:21 PM, Jan Kara <jack@...e.cz> wrote:
> > On Wed 29-11-17 15:23:52, Luis R. Rodriguez wrote:
> >> This removes superflous freezer calls as they are no longer needed
> >> as the VFS now performs filesystem freezing/thaw if the filesystem has
> >> support for it.
> >>
> >> The following Coccinelle rule was used as follows:
> >>
> >> spatch --sp-file fs-freeze-cleanup.cocci --in-place fs/$FS/
> >
> > I think your rule misses WQ_FREEZABLE flag for workqueues? That would be
> > also good to get rid of...
>
> We need that one (or equivalent) for the runtime PM workqueue at least.
I think Jan was talking about all the WQ_FREEZABLE flags in
filesystem workqueues (such as all the XFS wqs) that are no longer
necessary once filesystems are frozen appropriately.
Cheers,
Dave.
--
Dave Chinner
david@...morbit.com
Powered by blists - more mailing lists