linux/drivers/scsi/be2iscsi
Jitendra Bhivare 3c9e36a9d8 scsi: be2iscsi: Reduce driver load/unload time
Driver takes significant time to load 1m:20s and unload 40s.

Checkpatch script threw warning:
WARNING: msleep < 20ms can sleep for up to 20ms; see
Documentation/timers/timers-howto.txt

To eliminate this warning msleep(1) was replaced with msleep(20) before
submitting.

msleep(20) in init and uninit path for creation and destroying of number
of WRBQs, CQs, and EQs is adding to load/unload time.

Replace msleep with schedule_timeout_uninterruptible of 1ms as its
enough in most cases.

Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-08-23 22:42:42 -04:00
..
be_cmds.c scsi: be2iscsi: Reduce driver load/unload time 2016-08-23 22:42:42 -04:00
be_cmds.h be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
be_iscsi.c scsi: be2iscsi: Fix to use correct configuration values 2016-08-23 22:42:42 -04:00
be_iscsi.h MAINTAINERS, be2iscsi: change email domain 2015-05-18 11:34:52 -07:00
be_main.c Merge branch 'fixes' into misc 2016-03-15 15:24:44 -07:00
be_main.h be2iscsi: Add lock to protect WRB alloc and free 2016-02-23 21:27:02 -05:00
be_mgmt.c be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
be_mgmt.h be2iscsi: Fix to handle misconfigured optics events 2016-02-23 21:27:02 -05:00
be.h be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
Kconfig irq_poll: make blk-iopoll available outside the block layer 2015-12-11 11:52:24 -08:00
Makefile be2iscsi: Revert ownership to Emulex 2015-10-27 10:34:18 +09:00