aboutsummaryrefslogtreecommitdiff
path: root/testing/sg_tst_bidi.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2022-08-12 17:26:14 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2022-08-12 17:26:14 +0000
commit98b99ad2ab348bbba1676b95a8895f12ee48fd31 (patch)
tree8c250f6c63a9ada16b4c223056b5d27bf123fc57 /testing/sg_tst_bidi.c
parent5a1cdabc085bc9ccaedc5aff7c49a2d0ea5d6e12 (diff)
downloadsg3_utils-98b99ad2ab348bbba1676b95a8895f12ee48fd31.tar.gz
Prepare for removing /proc/scsi from the Linux kernel
From: Bart Van Assche <bvanassche@acm.org> 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. Posted to linux-scsi@vger.kernel.org on 20220810 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@968 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'testing/sg_tst_bidi.c')
-rw-r--r--testing/sg_tst_bidi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/sg_tst_bidi.c b/testing/sg_tst_bidi.c
index c142f401..0b81e144 100644
--- a/testing/sg_tst_bidi.c
+++ b/testing/sg_tst_bidi.c
@@ -585,7 +585,7 @@ rep_async:
}
if (direct_io && (dirio_count < q_len)) {
pr2serr("Direct IO requested %d times, done %d times\nMaybe need "
- "'echo 1 > /proc/scsi/sg/allow_dio'\n", q_len, dirio_count);
+ "'echo 1 > /sys/module/sg/parameters/allow_dio'\n", q_len, dirio_count);
}
if (rep_count-- > 0)
goto rep_async;