Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3257207ybi; Mon, 17 Jun 2019 20:28:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgHk/mSKtpuCvK/fI++5rNVP5PSlWvidJ7cAl8gFObq6tsQflAYlPpZIlqKAZMvGowPEBx X-Received: by 2002:a63:8b4c:: with SMTP id j73mr588899pge.15.1560828504461; Mon, 17 Jun 2019 20:28:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560828504; cv=none; d=google.com; s=arc-20160816; b=E3qdyZUm/l9X5lDVI2zY9hndQk9QI/gDEMAedc7y+OvyfWEZKGNNPtOGM/22y5tnmv stKfuo+c3msoBv4gM5r+MWixfBtDRp9UA0uO3V09Xbzf0dIIabBG2G8xVFdxSpkDsDen o7IFSmkFPUc7vKdBrtgrJ0bK1po3WqpXIo9VZKHxMZu4r+uNz6saf+rnrnbshbx/OZx4 bmob48+TA5/tRYz/R8JBSUJ1WOQF9NMhJKfS3+nGGak3nx4+0sZ07KUByTElwZOilF/o MxCwEo1xlr5RV51G7gu+K5Odjp0KvWgwHF90GSmQD2HcTtQ9qrHJ4cLXnEghdiBawjcA jF6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Dc068kFuuIDX3bGg/sCi/c8aRklky+fPiCT3Bn0V2CM=; b=SGW4+/IdhkWsp/AGwwgY7szZGi/cAcDJJT+n3Yax572KZETmVx0gs6cXLBWlgyv9tW xowMwcaMR3a0S0cmDhhdIDgEnUTK8ee0mozNvZtdYi32cSsRtH7qdk2HpObpb2wxI7ws veSaKy3BT9v/abGUyLbJ2ZxMlD/9MX+VMxit6aKYs83RUGktkT/r4Bzll+up0Ki3kSvN C9ZIOslda+4O4ZP2bbeWFKau5PU58ZoHxbKD31fliPXOY3PEFqzxknL8Y8VU8Mu9Yy1L YFUTJqJ1FJMu26SeUK8tVH0fPQaqvhol4Ax+qoUWsFB92+GjDWEHERyrcZE9SxJzkY7n oBmQ== 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 k1si11752367pfa.25.2019.06.17.20.28.08; Mon, 17 Jun 2019 20:28:24 -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 S1728158AbfFRD2E (ORCPT + 99 others); Mon, 17 Jun 2019 23:28:04 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:34758 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbfFRD2E (ORCPT ); Mon, 17 Jun 2019 23:28:04 -0400 Received: by mail-pf1-f196.google.com with SMTP id c85so6796743pfc.1; Mon, 17 Jun 2019 20:28:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Dc068kFuuIDX3bGg/sCi/c8aRklky+fPiCT3Bn0V2CM=; b=CqUOzNFarhQhckbVeXTInm8kvIikJv5FHB3cvjDtzc9fN77KdX4VI8aRNBcMpNtZk6 yrfKiXgxtDgwVeJIdCKb+LnCdMRnwuDXlzXc8alMoIIDpiWwhhkmr09luJeD7b8ZB7E4 4huTT7xBmJjBFGYM/A3vUtyQSOZ7gBSYJb5la3VSU69/XdvMxhOCgVG0wzNWl3l1b62N 71rvK3VzxsnG9mHGDoSEeHfg22qYP/C7RlNTQNLhcLmimTiLqbf6uoANhrg2XDWYJJMx R3qsZydEhtH+2s9OdwBRJ5Pe7pfZ80eHATaonSol1aKDKHxksZeG8FjowMsSTZLJ1oX6 tXWA== X-Gm-Message-State: APjAAAWO3HY2ZzY7bu8HcT0VGqzh0o6j5MrsZ2kQKx0yJ79a+dS/PIzy dNTVMzW0tLPmEjBftTDprXI= X-Received: by 2002:a62:29c7:: with SMTP id p190mr116173105pfp.218.1560828483791; Mon, 17 Jun 2019 20:28:03 -0700 (PDT) Received: from asus.site ([2601:647:4000:5dd1:c193:fa16:d79e:155e]) by smtp.gmail.com with ESMTPSA id u2sm678123pjv.30.2019.06.17.20.28.02 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 20:28:02 -0700 (PDT) Subject: Re: [PATCH v1] scsi: Don't select SCSI_PROC_FS by default To: dgilbert@interlog.com, Marc Gonzalez , James Bottomley , Martin Petersen Cc: SCSI , LKML , Christoph Hellwig References: <2de15293-b9be-4d41-bc67-a69417f27f7a@free.fr> <621306ee-7ab6-9cd2-e934-94b3d6d731fc@acm.org> From: Bart Van Assche Message-ID: Date: Mon, 17 Jun 2019 20:28:01 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/17/19 5:35 PM, Douglas Gilbert wrote: > For sg3_utils: > > $ find . -name '*.c' -exec grep "/proc/scsi" {} \; -print > static const char * proc_allow_dio = "/proc/scsi/sg/allow_dio"; > ./src/sg_read.c > static const char * proc_allow_dio = "/proc/scsi/sg/allow_dio"; > ./src/sgp_dd.c > static const char * proc_allow_dio = "/proc/scsi/sg/allow_dio"; > ./src/sgm_dd.c > static const char * proc_allow_dio = "/proc/scsi/sg/allow_dio"; > ./src/sg_dd.c >                 "'echo 1 > /proc/scsi/sg/allow_dio'\n", q_len, > dirio_count); > ./testing/sg_tst_bidi.c > static const char * proc_allow_dio = "/proc/scsi/sg/allow_dio"; > ./examples/sgq_dd.c > > That is 6 (not 38) by my count. Hi Doug, This is the command I ran: $ git grep /proc/scsi | wc -l 38 I think your query excludes scripts/rescan-scsi-bus.sh. Bart.