From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751632AbdK3XgB (ORCPT ); Thu, 30 Nov 2017 18:36:01 -0500 Received: from ipmail06.adl2.internode.on.net ([150.101.137.129]:15084 "EHLO ipmail06.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750890AbdK3Xf7 (ORCPT ); Thu, 30 Nov 2017 18:35:59 -0500 Date: Fri, 1 Dec 2017 10:30:33 +1100 From: Dave Chinner To: "Rafael J. Wysocki" Cc: Jan Kara , "Luis R. Rodriguez" , Al Viro , bart.vanassche@wdc.com, ming.lei@redhat.com, "Ted Ts'o" , "Darrick J. Wong" , Jiri Kosina , "Rafael J. Wysocki" , Pavel Machek , Len Brown , linux-fsdevel@vger.kernel.org, Boris Ostrovsky , Juergen Gross , Todd Brandt , nborisov@suse.com, "Martin K. Petersen" , Oliver Neukum , oleksandr@natalenko.name, Oleg Antonyan , Yu Chen , Dan Williams , Linux PM , linux-block@vger.kernel.org, linux-xfs@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [PATCH 07/11] xfs: remove not needed freezing calls Message-ID: <20171130233033.GO5858@dastard> References: <20171129232356.28296-1-mcgrof@kernel.org> <20171129232356.28296-8-mcgrof@kernel.org> <20171130162155.GB28180@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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@fromorbit.com