linux/drivers/scsi/qla2xxx
Bruno Prémont 975f7d4674 qla2xxx: fix busy wait regression
Commit e05fe29248 (qla2xxx: Honor FCP_RSP retry delay timer field.)
causes systems to busy-wait for about 3 minutes after boot prior to
detecting SAN disks.

During this wait period one kworker is running full-time
(though /proc/<pid>/stack has no useful data). Another kworker is
waiting for IO to complete during that whole time period.

Looking at drivers/scsi/qla2xxx/qla_os.c, fcport->retry_delay_timestamp
has a special value of 0 though that 0 value forces system to wait when
jiffies is very large value (e.g. 4294952605 - "negative" value when
signed on 32bit systems).

Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2015-01-05 18:15:08 +01:00
..
Kconfig
Makefile
qla_attr.c
qla_bsg.c
qla_bsg.h
qla_dbg.c
qla_dbg.h
qla_def.h
qla_devtbl.h
qla_dfs.c
qla_fw.h
qla_gbl.h qla2xxx: remove redundant declaration in 'qla_gbl.h' 2014-11-12 11:32:01 +01:00
qla_gs.c
qla_init.c qla2xxx: fix race in handling rport deletion during recovery causes panic 2014-12-15 13:34:23 +01:00
qla_inline.h
qla_iocb.c scsi: remove abuses of scsi_populate_tag 2014-11-12 11:19:41 +01:00
qla_isr.c
qla_mbx.c
qla_mid.c
qla_mr.c scsi: remove abuses of scsi_populate_tag 2014-11-12 11:19:41 +01:00
qla_mr.h
qla_nx.c
qla_nx.h
qla_nx2.c qla2xxx: remove redundant declaration in 'qla_gbl.h' 2014-11-12 11:32:01 +01:00
qla_nx2.h
qla_os.c qla2xxx: fix busy wait regression 2015-01-05 18:15:08 +01:00
qla_settings.h
qla_sup.c
qla_target.c scsi: remove MSG_*_TAG defines 2014-12-04 09:58:33 +01:00
qla_target.h Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2014-10-21 13:06:38 -07:00
qla_tmpl.c
qla_tmpl.h
qla_version.h
tcm_qla2xxx.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2014-10-21 13:06:38 -07:00
tcm_qla2xxx.h