diff options
author | Seymour, Shane M <shane.seymour@hpe.com> | 2015-10-12 06:31:17 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-11-10 02:17:27 +0100 |
commit | d9b43a10f0d04564c6e05de3728c3cbba64c644d (patch) | |
tree | 5661a5a688a92e9260af7e7d5cea0a04acca5cf3 /MAINTAINERS | |
parent | libfc: Use the correct function name in kernel-doc comment. (diff) | |
download | linux-d9b43a10f0d04564c6e05de3728c3cbba64c644d.tar.xz linux-d9b43a10f0d04564c6e05de3728c3cbba64c644d.zip |
st: allow debug output to be enabled or disabled via sysfs
Change st driver to allow enabling or disabling debug output
via sysfs file /sys/bus/scsi/drivers/st/debug_flag.
Previously the only way to enable debug output was:
1. loading the driver with the module parameter debug_flag=1
2. an ioctl call (this method was also the only way to dynamically
disable debug output).
To use the ioctl you need a second tape drive (if you are
actively testing the first tape drive) since a second process
cannot open the first tape drive if it is in use.
The this change is only functional if the value of the macro
DEBUG in st.c is a non-zero value (which it is by default).
Signed-off-by: Shane Seymour <shane.seymour@hpe.com>
Reviewed-by: Laurence Oberman <oberman.l@gmail.com>
Acked-by: Kai Mäkisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions