Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp394828ybg; Fri, 25 Oct 2019 23:55:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKG3qSmUTDA7owAmcV+TEIZNhi/O4R86AksK38JF86r2baVX2H2zPSyQD7IToIh02ucWfW X-Received: by 2002:a05:6402:213:: with SMTP id t19mr8189039edv.7.1572072939669; Fri, 25 Oct 2019 23:55:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572072939; cv=none; d=google.com; s=arc-20160816; b=TJDfLnrEglu+wG1YR5Xc/P7T6EpLWekJMxPCAi97wW/GJbRUsItmlwzaNN2l8VGNK5 lH3BEo9TsJ0vvP9pGa67zuHHMYFcP5LZCpaQ6UmX3uJV0NtfRmQwJ5FvRomd2WjbB0kH d1B1VU4SBY9n6OXT++w1hWHAqhg10zRZ/0h59Pwyl8eY8gNQPsKsBzEziu78lQZeAdLR RfuVwS46xGByvaq2UBCWE6EUMhmB1bezvcREb6Q5iUUiqzQV2ZYuE+SpFen3F+73pvkE 3aP3jGDXRoowNQZDeM25l6XIBEOu/6X9D4zcVz6dzRUSl10m78DvRdac2BGgOuSk6tCh DcBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date; bh=Kx9gjjwHmxHfVRUXkswXiflh69e4h/1UBOTOT5gKqVU=; b=bJzcYTno0iY5dzmrmYT0w0+VZirN03RIAVNcSNT6t4XcWri6N3FE1jjVqyqF4mYFLp Iv8sSsBsDq5FZWO708YWEHYxO6gkUmTzThJ7nGcDgDANnk1MOTiIsZOj31aL+y1v2qqc hIW66mjC6TB4mi1EwDhIgv0exRblwoQZ5EvIyX9Di530EIyKuNq4pSEOAzlKICHIZAoU 1EXLp82YRIPPc4+ltu+l2dEyt2jbVGoo+sLjZ0vlBapPLQsBateBpAB3aTdzmrnaf7Ps IhH7raUVZMjmRNNyVum/hkqmWIEqAT0Eet2yBbM2TDYVcYc94+N2+rQ1x+vTHD86etaP shNA== 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 i7si2666955eda.375.2019.10.25.23.55.14; Fri, 25 Oct 2019 23:55:39 -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 S1726138AbfJZGw2 (ORCPT + 99 others); Sat, 26 Oct 2019 02:52:28 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:58690 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726010AbfJZGw2 (ORCPT ); Sat, 26 Oct 2019 02:52:28 -0400 X-Greylist: delayed 372 seconds by postgrey-1.27 at vger.kernel.org; Sat, 26 Oct 2019 02:52:27 EDT Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id E98AF2A49A; Sat, 26 Oct 2019 02:46:09 -0400 (EDT) Date: Sat, 26 Oct 2019 17:46:08 +1100 (AEDT) From: Finn Thain To: =?ISO-8859-15?Q?Michal_Such=E1nek?= cc: Christoph Hellwig , linux-scsi@vger.kernel.org, Jonathan Corbet , Jens Axboe , "James E.J. Bottomley" , "Martin K. Petersen" , Alexander Viro , Mauro Carvalho Chehab , Eric Biggers , "J. Bruce Fields" , Benjamin Coddington , Hannes Reinecke , Omar Sandoval , Ming Lei , Damien Le Moal , Bart Van Assche , Tejun Heo , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2 2/8] cdrom: factor out common open_for_* code In-Reply-To: <20191025104230.GN938@kitsune.suse.cz> Message-ID: References: <20191024021958.GA11485@infradead.org> <20191024085014.GF938@kitsune.suse.cz> <20191025023908.GB14108@infradead.org> <20191025104230.GN938@kitsune.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 25 Oct 2019, Michal Such?nek wrote: > On Thu, Oct 24, 2019 at 07:39:08PM -0700, Christoph Hellwig wrote: > > On Thu, Oct 24, 2019 at 10:50:14AM +0200, Michal Such?nek wrote: > > > Then I will get complaints I do unrelated changes and it's hard to > > > review. The code gets removed later anyway. > > > > If you refactor you you pretty much have a card blanche for the > > refactored code and the direct surroundings. > > This is different from what other reviewers say: > > https://lore.kernel.org/lkml/1517245320.2687.14.camel@wdc.com/ > I don't see any inconsistency there. Both reviews are valuable. In general, different reviewers may give contradictory advice. Reviewers probably even contradict themselves eventually. Yet it rarely happens that the same patch gets contradictory reviews. If it did, you might well complain. > Either way, this code is removed in a later patch so this discussion is > moot. > > It makes sense to have a bisection point here in case something > goes wrong but it is pointless to argue about the code structure > inherited from the previous revision. A patch may refactor some code only to have the next patch remove that code. This doesn't generally mean that the former patch is redundant. The latter patch may end up committed and subsequently reverted. The latter patch may become easier to review because of the former. The former patch may be eligible for -stable. The former patch may be the result of an automatic process. And so on. I don't know what Christoph had in mind here but he's usually right, so it's worth asking. -- > > Thanks > > Michal >