Received: by 10.213.65.68 with SMTP id h4csp934594imn; Wed, 28 Mar 2018 16:08:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/y/BiIfi+L8I7CCKEPCV1JvAGHj9HnTK99HocR5w/4gsCe7yRYev7NsuskeNfUw3ImPzOh X-Received: by 10.101.85.143 with SMTP id j15mr3738509pgs.387.1522278525754; Wed, 28 Mar 2018 16:08:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522278525; cv=none; d=google.com; s=arc-20160816; b=hrK3mlLUxS0ct9gOKOHre+Y2YllKUqmmp2/TvDeNfGJ+QnzuGErcHkUQB8t7f7eZmh JkYKSms3jOxk5zkSC4e/MQ8wlaqExONrAothVQje21QY23cafbtmYy8wQzvI52XZdgAX 6pga2N87j7eHN/QXpMZc/x2oS2sBL20y4dUDrjVBP+uglBC0HcHHjljePFfkPFjhjCWn mDAN5iRMGiM5druADl93nrD6Hs2VQHClNTTwv8DadGFmyrygCfUY7Wb5UIXMLWsmXJ16 gEi5vcZG1OrQMz0qizZcVUifb+2HrtI7/WrFZN3BKH6VznnWX1pfgnMRxdXPhvjmjCkr Uh6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=bGYssTgs1XnMcYzpTo8Je6IaJqaMPcjXJma2XCRLk/Q=; b=vNH9iTY3djR0WegUDsJqCUzN31nOuSfBb80KzR+sqRJis3x2iHOmULTbnkn0jVcseh pYYZfLY4cJ+Y3ScK5Z4Zucl39r57ak71eCmnVaoGGL+rC66LPxToqWfkgGWsGlLG28Ld sU9B5yemc7jIP0xo/osOZv+PQWugD5LcGwc250M0nvWTv7U5zp9yj3DLIqi3ASo11/ok mcSOaDt61IZZGjhEzmQgR0U7M/Rpserq3BZ24efON9xKU0p+W3Pi5DVfPHHLXBjyXR24 rGgvahC/uMTKh5aMVWVcZEJ/uHF6kMuS7B1okrvqLQZr2ba93X131cgp+1P9+ojQgD1p Q9fA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l2-v6si4621283pln.386.2018.03.28.16.08.31; Wed, 28 Mar 2018 16:08:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751230AbeC1XHP (ORCPT + 99 others); Wed, 28 Mar 2018 19:07:15 -0400 Received: from ipmail06.adl2.internode.on.net ([150.101.137.129]:9569 "EHLO ipmail06.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751150AbeC1XHL (ORCPT ); Wed, 28 Mar 2018 19:07:11 -0400 Received: from ppp59-167-129-252.static.internode.on.net (HELO dastard) ([59.167.129.252]) by ipmail06.adl2.internode.on.net with ESMTP; 29 Mar 2018 09:35:36 +1030 Received: from dave by dastard with local (Exim 4.80) (envelope-from ) id 1f1K8N-0005y4-SN; Thu, 29 Mar 2018 10:05:35 +1100 Date: Thu, 29 Mar 2018 10:05:35 +1100 From: Dave Chinner To: Sasha Levin Cc: Sasha Levin , "Luis R. Rodriguez" , "Darrick J. Wong" , Christoph Hellwig , xfs , "linux-kernel@vger.kernel.org List" , Greg Kroah-Hartman , Julia Lawall , Josh Triplett , Takashi Iwai , Michal Hocko , Joerg Roedel Subject: Re: [PATCH] xfs: always free inline data before resetting inode fork during ifree Message-ID: <20180328230535.GE18129@dastard> References: <20171123060137.GL2135@magnolia> <20180323013037.GA9190@wotan.suse.de> <20180323034145.GH4818@magnolia> <20180323170813.GD30543@wotan.suse.de> <20180323172620.GK4818@magnolia> <20180323182302.GB9190@wotan.suse.de> <20180325223357.GJ18129@dastard> <20180328033228.GA18129@dastard> <20180328193004.GB7561@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180328193004.GB7561@sasha-vm> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 28, 2018 at 07:30:06PM +0000, Sasha Levin wrote: > On Wed, Mar 28, 2018 at 02:32:28PM +1100, Dave Chinner wrote: > >How much time are your test rigs going to be able to spend running > >xfstests? A single pass on a single filesysetm config on spinning > >disks will take 3-4 hours of run time. And we have at least 4 common > >configs that need validation (v4, v4 w/ 512b block size, v5 > >(defaults), and v5 w/ reflink+rmap) and so you're looking at a > >minimum 12-24 hours of machine test time per kernel you'd need to > >test. > > No reason they can't run in parallel, right? Sure they can, if you've got the infrastructure to do it. e.g. putting concurrent test runs on the same spinning disk doesn't speed up the overall test run time by very much - they slow each other down as they contend for IO from the same spindle... I have 5-6 configs on each of my test VMs that I use for validation. They all have the default config, all have a reflink enabledi config, and then have varing numbers of other unique configs according to how fast they run. i.e. it's tailored to "overnight" testing, so 12-16 hours of test run time. With them all running in parallel, it takes about 16 hours to cover all the different configs. I could create more test VMs and run one config per VM, but that's slower than (due to resource contention) than running mutliple configs sequentially with limited concurrency. What is most efficient for your available resources will be different, so don't assume what works for me will work for you.... > >> > From: Sasha Levin > >> > To: Sasha Levin > >> > To: linux-xfs@vger.kernel.org, "Darrick J . Wong" > >> > Cc: Brian Foster , linux-kernel@vger.kernel.org > >> > Subject: Re: [PATCH] xfs: Correctly invert xfs_buftarg LRU isolation logic > >> > In-Reply-To: <20180306102638.25322-1-vbendel@redhat.com> > >> > References: <20180306102638.25322-1-vbendel@redhat.com> > >> > > >> > Hi Vratislav Bendel, > >> > > >> > [This is an automated email] > >> > > >> > This commit has been processed by the -stable helper bot and determined > >> > to be a high probability candidate for -stable trees. (score: 6.4845) > >> > > >> > The bot has tested the following trees: v4.15.12, v4.14.29, v4.9.89, v4.4.123, v4.1.50, v3.18.101. > >> > > >> > v4.15.12: OK! > >> > v4.14.29: OK! > >> > v4.9.89: OK! > >> > v4.4.123: OK! > >> > v4.1.50: OK! > >> > v3.18.101: OK! > >> > > >> > Please reply with "ack" to have this patch included in the appropriate stable trees. > > > >That might help, but the testing and validation is completely > >opaque. If I wanted to know what that "OK!" actually meant, where > >do I go to find that out? > > This is actually something I want maintainers to dictate. What sort of > testing would make the XFS folks happy here? Right now I'm doing > "./check 'xfs/*'" with xfstests. Is it sufficient? Anything else you'd like to see? ... and you're doing it wrong. This is precisely why being able to discover /exactly/ what you are testing and being able to browse the test results so we can find out if tests passed when a user reports a bug on a stable kernel. The way you are running fstests skips more than half the test suite It also runs tests that are considered dangerous because they are likely to cause the test run to fail in some way (i.e. trigger an oops, hang the machine, leave a filesystem in an unmountable state, etc) and hence not complete a full pass. "./check -g auto" runs the full "expected to pass" regression test suite for all configured test configurations. (i.e. all config sections listed in the configs/.config file) Cheers, Dave. -- Dave Chinner david@fromorbit.com