Skip to content

Prepare for removing /proc/scsi from the Linux kernel

Bart Van Assche linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Change /proc/scsi/sg/allow_dio into /sys/module/sg/parameters/allow_dioChangeLog doc/sg_dd.8 doc/sg_read.8 +9 more+30 -300 replies
2/3Replace the references to /proc/scsi/sg/debugtesting/sg_mrq_dd.cpp testing/sgh_dd.cpp testing/uapi_sg.h+14 -140 replies
3/3Refer to sg_map instead of /proc/scsi/scsidoc/sg_dd.8 doc/sg_map.8 doc/sgp_dd.8+3 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [sg3_utils 0/3] Prepare for removing /proc/scsi from the Linux kernel

Hi Doug,

The sg3_utils package is the only /proc/scsi user I know of. Although support for systems without /proc/scsi was added to rescan_scsi_bus.sh more than ten years ago, a few references to /proc/scsi remain. Convert these references into the recommended interfaces.

Please consider these patches for inclusion in the sg3_utils package.

Thanks,

Bart.

Bart Van Assche (3):
Change /proc/scsi/sg/allow_dio into
/sys/module/sg/parameters/allow_dio
Replace the references to /proc/scsi/sg/debug
Refer to sg_map instead of /proc/scsi/scsi

 ChangeLog             |  2 +-
 doc/sg_dd.8           |  9 ++++-----
 doc/sg_map.8          |  2 +-
 doc/sg_read.8         |  4 ++--
 doc/sgp_dd.8          |  6 +++---
 examples/sgq_dd.c     |  6 +++---
 src/sg_dd.c           |  6 +++---
 src/sg_read.c         |  6 +++---
 src/sgm_dd.c          |  6 +++---
 src/sgp_dd.c          |  6 +++---
 testing/sg_mrq_dd.cpp | 18 +++++++++---------
 testing/sg_tst_bidi.c |  2 +-
 testing/sgh_dd.cpp    | 18 +++++++++---------
 testing/uapi_sg.h     |  4 ++--
 14 files changed, 47 insertions(+), 48 deletions(-)