Files
linux/Documentation
Seymour, Shane M d9b43a10f0 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>
2015-11-09 17:17:27 -08:00
..
2014-02-28 15:12:08 -08:00
2014-02-10 16:01:40 -08:00
2015-08-28 22:59:36 -04:00
2015-09-03 10:01:44 -07:00
2015-06-08 16:43:09 -06:00
2014-12-10 17:41:10 -08:00
2015-06-08 23:15:45 +02:00
2015-06-26 11:23:38 -04:00
2015-07-14 12:35:42 -06:00
2015-09-10 13:29:01 -07:00
2015-02-27 11:44:24 -08:00
2014-05-05 15:32:05 +02:00
2015-06-24 18:17:40 +02:00
2014-12-08 09:07:11 -05:00
2015-06-23 06:49:44 -06:00
2014-05-05 15:32:05 +02:00
2014-05-05 15:32:05 +02:00
2014-09-23 23:44:16 -07:00