Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp913049ybt; Wed, 17 Jun 2020 17:42:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQjpO5wDrmcILnN+eLlIG46JIVYQZvLb2DoVT5YiI4v3wfhKOHxVokczVZJOYM+B+II+rj X-Received: by 2002:aa7:d785:: with SMTP id s5mr1755660edq.17.1592440970798; Wed, 17 Jun 2020 17:42:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592440970; cv=none; d=google.com; s=arc-20160816; b=K8md7QNjYBAY/KNjNzA+KTbiH6qZX5Y6nAmTW8GP1elxbZG725anqH3aNw+0okus8X U7Eajb9bS6D2wwbxB4HzrFOCP2r9UHBUp2poU50kvKYp8uvjRKMlNBcJBS2imEes4GRf 2hM6uV+UG0bhhxJ62CoTabojsDvSQrw6YpQ81dQd/fhGiRf75yVVq/NFxbkhVmAwemZn oMt5q0eyT3ws0XvLm3mXhqdvdYCVsZoPys7goGc/n0xElkyVC89o9xUWeCcjb1tlZr8y Y5D1mC+MTlnFlvUAbf1TBxI0k+K4jNP9p7Oz9qeeG83+jcsNc3hKu8dvu+LNKZp2S88v coqQ== 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=sIllYvgGx50XjsR1Gy9Gx3RSl9ZNRzWW7RaUrtUh0Ls=; b=wXp7+P8zqsyaRRpirRO7hPvlO0YMj17bYxA1HDXacGWQovqqRXRwPf4cbpmdLn2lWb 0YoWXv8zAEw+NgqMQX4xydswk+Hh36yPvDUFIJAzxHgu5ATiO8kzknMKwwcZtDDmUKDn LUvLZ5sz7z0PunZleY8aeOLorjqmxLoshQryEks0r4ead7UHAF5ambMO8J58T1beBSud LUKkREEkVqTW74ajHXuLLnwp3OEODIi3S554yjr2G3uGCKd0ttOxtXtZVoCsv5xDlYkp 2205651Mf9iYNKnt9DjPP/XnIradmKv92jDJGWeiVjWXv4Bf1WvMpBDqpLqo4nARbp9m 9ppA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si984434edt.88.2020.06.17.17.42.28; Wed, 17 Jun 2020 17:42:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726913AbgFRAkp (ORCPT + 99 others); Wed, 17 Jun 2020 20:40:45 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:33172 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726845AbgFRAkp (ORCPT ); Wed, 17 Jun 2020 20:40:45 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id 2C6062073E; Wed, 17 Jun 2020 20:40:40 -0400 (EDT) Date: Thu, 18 Jun 2020 10:40:37 +1000 (AEST) From: Finn Thain To: "Martin K. Petersen" cc: Chris Boot , James Bottomley , Johannes Thumshirn , Bart Van Assche , "linuxppc-dev@lists.ozlabs.org" , "target-devel@vger.kernel.org" , "linux-scsi@vger.kernel.org" , "linux1394-devel@lists.sourceforge.net" , "linux-kernel@vger.kernel.org" , Chuhong Yuan , Nicholas Bellinger , Stefan Richter Subject: Re: [PATCH] scsi: target/sbp: remove firewire SBP target driver In-Reply-To: Message-ID: References: <01020172acd3d10f-3964f076-a820-43fc-9494-3f3946e9b7b5-000000@eu-west-1.amazonses.com> <7ad14946-5c25-fc49-1e48-72d37a607832@boo.tc> <8da0c285-d707-a3d2-063e-472af5cc560f@boo.tc> <8cbab988-fba7-8e27-7faf-9f7aa36ca235@acm.org> <1592321667.4394.5.camel@HansenPartnership.com> <5e512185-45d1-61eb-9bec-91e9f9d53ea3@boo.tc> 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 Tue, 16 Jun 2020, Martin K. Petersen wrote: > > However, keeping code around is not free. Right. And removing code isn't free either, if it forces people to find workarounds. > Core interfaces change frequently. Nobody enjoys having to tweak host > templates for 50 devices they have never even heard about. And yet some people seem to enjoy writing patches that are as trivial as they are invasive... You seem to be making an argument for more automation here, not an argument for less code. Or is there some upper bound to the size of the kernel, that might be lifted by adding maintainers? (Can you deliver a better product by adding more developers to your project?) > Also, we now live in a reality where there is a constant barrage of > build bots and code analyzers sending mail. So the effective cost of > keeping code around in the tree is going up. But if maintenance cost rises due to good analysis, the value of the code should rise too. So what's the problem? It seems to me that the real problem is too many analyses that generate pedantic noise and no tangible improvement in code quality or value. > I get a substantial amount of code analysis mail about drivers nobody > have touched in a decade or more. > When stable, mature code fails analysis, the analysis is also questionable (in the absence of real examples). > Consequently, I am much more inclined to remove drivers than I have been > in the past. But I am also very happy to bring them back if somebody > uses them or - even better - are willing to step up and maintain them. > You seem to be saying that 1) a driver should be removed when it no longer meets the present threshold for code quality and 2) that a low quality driver is eligible for re-addition because someone wants to use it. I don't think you can have it both ways. > I don't particularly like the notion of a driver being orphaned because > all that really means is that the driver transitions from being (at > least partially) somebody else's problem to being mine and mine alone. > Yes it's your problem but only on a best-effort basis. Many issues detected by automatic analyzers can be fixed with automatic code transformation tools. This kind of solution works tree-wide, so even if some defect in your driver is "yours and yours alone", the solution will probably come from others. This email, like yours, is just hand-waving. So feel free to ignore it or (preferably) provide evidence of real defects.