Re: [PATCH 0/4] Remove procfs support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You want to *remove* a user-visible interface that has been there
for decades (granted, /proc has its issues and sysfs could replace it)
because you want to make a kernel data structure a const structure?

Many other things in the kernel still provide a procfs interface.


-Ewan


On Fri, Aug 12, 2022 at 4:46 PM Bart Van Assche <bvanassche@xxxxxxx> wrote:
>
> Hi Martin,
>
> The SCSI sysfs interface made the procfs interface superfluous. sysfs support was
> added in the most prominent user of the procfs interface (sg3_utils) in 2008. The
> implementation of the procfs interface makes it harder than necessary to constify
> the SCSI host templates. Hence this patch series that removes the procfs interface.
>
> Please consider this patch series for the next merge window.
>
> Thanks,
>
> Bart.
>
> Bart Van Assche (4):
>   scsi: esas2r: Rename two functions and two variables
>   scsi: esas2r: Remove procfs support
>   scsi: core: Remove procfs support
>   scsi: core: Update a source code comment
>
>  drivers/scsi/Kconfig               |  11 -
>  drivers/scsi/Makefile              |   1 -
>  drivers/scsi/esas2r/esas2r.h       |   4 +-
>  drivers/scsi/esas2r/esas2r_ioctl.c |   2 +-
>  drivers/scsi/esas2r/esas2r_main.c  |  43 +--
>  drivers/scsi/hosts.c               |   5 -
>  drivers/scsi/scsi.c                |   8 +-
>  drivers/scsi/scsi_devinfo.c        | 146 ---------
>  drivers/scsi/scsi_priv.h           |  17 -
>  drivers/scsi/scsi_proc.c           | 477 -----------------------------
>  drivers/scsi/sg.c                  | 358 ----------------------
>  include/scsi/scsi_host.h           |   8 +-
>  12 files changed, 14 insertions(+), 1066 deletions(-)
>  delete mode 100644 drivers/scsi/scsi_proc.c
>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux