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> |
||
---|---|---|
.. | ||
scsi_transport_srp | ||
00-INDEX | ||
53c700.txt | ||
BusLogic.txt | ||
ChangeLog.1992-1997 | ||
ChangeLog.arcmsr | ||
ChangeLog.ips | ||
ChangeLog.lpfc | ||
ChangeLog.megaraid | ||
ChangeLog.megaraid_sas | ||
ChangeLog.ncr53c8xx | ||
ChangeLog.sym53c8xx | ||
ChangeLog.sym53c8xx_2 | ||
FlashPoint.txt | ||
LICENSE.FlashPoint | ||
LICENSE.qla2xxx | ||
LICENSE.qla4xxx | ||
Mylex.txt | ||
NinjaSCSI.txt | ||
aacraid.txt | ||
advansys.txt | ||
aha152x.txt | ||
aic7xxx.txt | ||
aic79xx.txt | ||
arcmsr_spec.txt | ||
bfa.txt | ||
bnx2fc.txt | ||
cxgb3i.txt | ||
dc395x.txt | ||
dpti.txt | ||
dtc3x80.txt | ||
g_NCR5380.txt | ||
hpsa.txt | ||
hptiop.txt | ||
in2000.txt | ||
libsas.txt | ||
link_power_management_policy.txt | ||
lpfc.txt | ||
megaraid.txt | ||
ncr53c8xx.txt | ||
osd.txt | ||
osst.txt | ||
ppa.txt | ||
qlogicfas.txt | ||
scsi-changer.txt | ||
scsi-generic.txt | ||
scsi-parameters.txt | ||
scsi.txt | ||
scsi_eh.txt | ||
scsi_fc_transport.txt | ||
scsi_mid_low_api.txt | ||
st.txt | ||
sym53c8xx_2.txt | ||
sym53c500_cs.txt | ||
tmscsim.txt | ||
ufs.txt | ||
wd719x.txt |