From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de ([195.135.220.15]:48370 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750709AbeC2HBz (ORCPT ); Thu, 29 Mar 2018 03:01:55 -0400 Date: Thu, 29 Mar 2018 09:01:53 +0200 From: Michal Hocko Subject: Re: [PATCH] xfs: always free inline data before resetting inode fork during ifree Message-ID: <20180329070153.GC31039@dhcp22.suse.cz> References: <20180323034145.GH4818@magnolia> <20180323170813.GD30543@wotan.suse.de> <20180323172620.GK4818@magnolia> <20180323182302.GB9190@wotan.suse.de> <20180325223357.GJ18129@dastard> <20180327070637.GX5652@dhcp22.suse.cz> <20180327195435.GE9190@wotan.suse.de> <20180328132148.GN9275@dhcp22.suse.cz> <20180328193304.GC7561@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180328193304.GC7561@sasha-vm> Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: Sasha Levin Cc: "Luis R. Rodriguez" , Sasha Levin , Dave Chinner , "Darrick J. Wong" , Christoph Hellwig , xfs , "linux-kernel@vger.kernel.org List" , Greg Kroah-Hartman , Julia Lawall , Josh Triplett , Takashi Iwai , Joerg Roedel On Wed 28-03-18 19:33:06, Sasha Levin wrote: > On Wed, Mar 28, 2018 at 03:21:48PM +0200, Michal Hocko wrote: > >On Tue 27-03-18 19:54:35, Luis R. Rodriguez wrote: > >> On Tue, Mar 27, 2018 at 09:06:37AM +0200, Michal Hocko wrote: > >> > So by no means the MM backports were reviewed by me. And considering how hard > >> > it is to get any review for MM patches in general I strongly suspect that > >> > others didn't review either. > >> > > >> > In general I am quite skeptical about the automagic backports > >> > selections, to be honest. MM patches should be reasonably good at > >> > selecting stable backports and adding more patches on top just risks > >> > regressions. > >> > >> BTW other than suggesting we needing *actual review* of the MM patches, are > >> there known unit tests which could be run as well? Thinking long term. > > > >There are some in selftests but most fixes are quite hard to get a > >specialized testcase for. Rememeber the MM is a pile of heuristics to > >handle large scale of workloads. > > Would running mmtests for each patch help here at all? mmtests are more for performance than regression/correctness testing AFAIR. -- Michal Hocko SUSE Labs