[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1muicq696.fsf@oracle.com>
Date: Thu, 20 Jun 2019 17:47:01 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Marc Gonzalez <marc.w.gonzalez@...e.fr>
Cc: Douglas Gilbert <dgilbert@...erlog.com>,
Finn Thain <fthain@...egraphics.com.au>,
Bart Van Assche <bvanassche@....org>,
James Bottomley <jejb@...ux.ibm.com>,
Martin Petersen <martin.petersen@...cle.com>,
SCSI <linux-scsi@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Christoph Hellwig <hch@....de>
Subject: Re: [PATCH v1] scsi: Don't select SCSI_PROC_FS by default
Marc,
> (I work on smaller systems where we do use /proc occasionally, but we
> don't enable CHR_DEV_SG or SCSI_PROC_FS.)
Many sg apps depend on SCSI_PROC_FS. That doesn't imply that only sg
apps depend on it.
As an example, with SCSI_PROC_FS enabled we don't need your SanDisk
Cruzer Blade patch at all since you can tweak the blacklist flags from
user space.
Also, the "legacy" moniker was wishful thinking. Applied to the Kconfig
option at a time where sysfs was new and shiny and considered the
solution to all the kernel's problems. But that wholesale transition of
all interfaces from /proc simply never took place. What happened was
that *new* functionality largely went to sysfs.
Note that I don't have a problem adding missing knobs to sysfs where it
makes sense. But it will obviously take a while for userland apps to
adopt it.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists