1tcm_qla2xxx jam_host attribute 2------------------------------ 3There is now a new module endpoint atribute called jam_host 4attribute: jam_host: boolean=0/1 5This attribute and accompanying code is only included if the 6Kconfig parameter TCM_QLA2XXX_DEBUG is set to Y 7By default this jammer code and functionality is disabled 8 9Use this attribute to control the discarding of SCSI commands to a 10selected host. 11This may be useful for testing error handling and simulating slow drain 12and other fabric issues. 13 14Setting a boolean of 1 for the jam_host attribute for a particular host 15 will discard the commands for that host. 16Reset back to 0 to stop the jamming. 17 18Enable host 4 to be jammed 19echo 1 > /sys/kernel/config/target/qla2xxx/21:00:00:24:ff:27:8f:ae/tpgt_1/attrib/jam_host 20 21Disable jamming on host 4 22echo 0 > /sys/kernel/config/target/qla2xxx/21:00:00:24:ff:27:8f:ae/tpgt_1/attrib/jam_host 23