linux_dsm_epyc7002/drivers/scsi/be2iscsi
Jitendra Bhivare 50a4b824be scsi: be2iscsi: Fix to make boot discovery non-blocking
Boot work involves:
1. Find and fetch configured boot session and its handle.
2. Attempt to open the session if its not.
3. Get the session details for boot kset creation.
4. Logout of that session owned by FW.
5. Create boot kset for session details.

All these actions were done in blocking call with retries in global wq.
Other works in wq suffered if the IOCTLs stalled or timed out.

This change moves all the boot work to make it non-blocking.
The work queued in global wq just issues the IOCTL depending on the action
to be taken and mcc wq schedules work depending on status of the IOCTL.
Initial boot_work is started on link and ASYNC event.

The other code changes move all boot related functions in one place and
follow naming conventions.

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:43 -04:00
..
be_cmds.c scsi: be2iscsi: Fix to make boot discovery non-blocking 2016-08-23 22:42:43 -04:00
be_cmds.h scsi: be2iscsi: Fix to make boot discovery non-blocking 2016-08-23 22:42:43 -04:00
be_iscsi.c scsi: be2iscsi: Fix checks for HBA in error state 2016-08-23 22:42:43 -04:00
be_iscsi.h scsi: be2iscsi: Check all zeroes IP before issuing IOCTL 2016-08-23 22:42:43 -04:00
be_main.c scsi: be2iscsi: Fix to make boot discovery non-blocking 2016-08-23 22:42:43 -04:00
be_main.h scsi: be2iscsi: Fix to make boot discovery non-blocking 2016-08-23 22:42:43 -04:00
be_mgmt.c scsi: be2iscsi: Fix to make boot discovery non-blocking 2016-08-23 22:42:43 -04:00
be_mgmt.h scsi: be2iscsi: Fix to make boot discovery non-blocking 2016-08-23 22:42:43 -04:00
be.h scsi: be2iscsi: Fix to make boot discovery non-blocking 2016-08-23 22:42:43 -04: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