Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1305473imd; Sat, 27 Oct 2018 06:29:40 -0700 (PDT) X-Google-Smtp-Source: AJdET5cS7G0fYs5rIFZXp+FXeffivtjnOLYhcLuxGmVoIHyYdZoA1Yza8D4/DTuMgD2Dc4KgRBED X-Received: by 2002:a62:8647:: with SMTP id x68-v6mr8082055pfd.252.1540646979944; Sat, 27 Oct 2018 06:29:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540646979; cv=none; d=google.com; s=arc-20160816; b=njRO31CJgLWgu1LYNcxbIeTsX4qmlgTp1JtOP6X2SQm7BuMhDGIG5z8Vtf4oUoN2QA zM4EyB8kH+qaIyuLOTi8tsp3FnIzM6VsUPYXsl7UkDzFKcMzczUoN9ms2N3y5cdJzIr6 JZ36lUB6Mf1f9keY2tA6QdxzSSCbc8+z7Qz5SjwkB+MB/XFIIPmz589c5yR6jnY87n66 CaA7sbj66Kt1KPt1btUPDVyNlVgIx8Y9aW9m+cdhSQ1JLta8iFdk77WHMSUghU/BUUub rwIjg9H5ciIYC+9pHkQXNt9lqdCYy1dZUnId6eiwOZSsXuQCSK36KUl4QVJPLWcGqd2Q mRCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature; bh=sEN40fKKJ5XpN7P89xeu2zvfZ/ncGGGBI99WbFkO2Dg=; b=qo1h9gptSkhfSBpcuxD6RFUvy1q5zxCpd8zfJVNbZOtbYInoCUk9Gu7ss00zECT3Hg Eu1Rsk3EhZqdkMu9UT4Sv8piwjGoJPv0vGBJD38Q8vMnFXim6+PrxBzzKTYpMt4PxmnR unWSRUkR7mkn+2umFzLdGScumNEznfNs1Rzf/kYL+XDlcfAjHjaNK1r28bB2qUe8adTV z+ebX+XPI9Mo2mziUCcZIqWJA3GTyGuMosV1BU15giZkGFFBU3OW/8gwMVz4tk5U+QeR p9d0/Gk+uB3JzcmhFykEE0OwXePIl9dbgaEDbzcrfOykyMBX2529n+ZIOxfQB+xtiAKZ Enyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=sWu7Q2RH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m6-v6si5614443pgh.230.2018.10.27.06.29.24; Sat, 27 Oct 2018 06:29: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; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=sWu7Q2RH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728654AbeJ0WKD (ORCPT + 99 others); Sat, 27 Oct 2018 18:10:03 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:51028 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728320AbeJ0WKD (ORCPT ); Sat, 27 Oct 2018 18:10:03 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w9RDSXuS042060; Sat, 27 Oct 2018 13:28:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2018-07-02; bh=sEN40fKKJ5XpN7P89xeu2zvfZ/ncGGGBI99WbFkO2Dg=; b=sWu7Q2RHvm/dGGoKbZEyjhn9TWKLG4I6a/Ps+TwzCpY7KOwo6OdfjSoz6MB6Zw+qhSwy 5C2qlmXxmzCVSGpAD6p+QE7KttJ563NlIgtvek+4hskNDCpgqLmlilTzQUb+/J8PHIx7 WPS/f70dX3uNq/8qpBkAwLW+jtUz7mT2jVmn6vU1w5qIxmh8OP34c7LNGYQkJt20OTp/ r76zrLPHjaIPQTUCrxF+t73GNRVbAZRPw72GSJbr5jLRUuPoWcrPgxYhs3TluSnXMTOC FMIh3ifB+TSIrL0XLQnzFWqw1rZKrytF4VqXv9CKi/pUmpGppQYra6JEp0oIdNEO2sKD JA== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2ncfet8u1x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 27 Oct 2018 13:28:32 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w9RDSQ9l016011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 27 Oct 2018 13:28:26 GMT Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w9RDSO9t022467; Sat, 27 Oct 2018 13:28:24 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 27 Oct 2018 06:28:23 -0700 To: Bart Van Assche Cc: Nick Desaulniers , Linus Torvalds , ooo@electrozaur.com, Nathan Chancellor , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, LKML , hch@infradead.org Subject: Re: [PATCH] libosd: Remove ignored __weak attribute From: "Martin K. Petersen" Organization: Oracle Corporation References: <20180930205448.26205-1-natechancellor@gmail.com> <10b12992-3570-4646-374b-82cbd7276839@acm.org> <1538503063.193396.6.camel@acm.org> <1538521591.193396.8.camel@acm.org> <20181025213144.GB24709@flashbox> <20181025225548.GA10326@flashbox> <1540576908.66186.103.camel@acm.org> <1540589437.66186.124.camel@acm.org> <1540591147.66186.127.camel@acm.org> <1540592684.66186.136.camel@acm.org> Date: Sat, 27 Oct 2018 09:28:21 -0400 In-Reply-To: <1540592684.66186.136.camel@acm.org> (Bart Van Assche's message of "Fri, 26 Oct 2018 15:24:44 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9058 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=741 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810270126 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bart, > Removing kernel drivers that are not used helps to reduce the workload > of a maintainer and hence is a rational action. Additionally, if > anyone would ever complain about removal of a kernel driver, it can be > brought back by reverting the commit through which it has been > removed. Martin, please reply if you see this differently. We remove crusty old SCSI drivers all the time. The heuristic is based on lack of user bug reports and absence of commits that are not due to kernel interface changes or trivial cleanups. So removing stuff is perfectly normal. The OSD protocol failed to get traction in the industry, adoption was very limited. If the code just plugged straight into existing kernel interfaces it would be easier to justify keeping it around. However, the OSD support requires bidirectional command support so we carry a bunch of additional plumbing in both block and SCSI to accommodate it. There are no other users of these interfaces, so dropping OSD would mean we could simplify some (hot) code paths. That would be a win in my book. Consequently, if a patch were to materialize that disentangled and removed OSD, I'd be inclined to merge it. But I do think that this is an orthogonal discussion to the innocuous __weak attribute cleanup. -- Martin K. Petersen Oracle Linux Engineering