/* __ibmvfc_reset_host - Reset the connection to the server (no locking) @vhost: struct ibmvfc host to reset  */
static void __ibmvfc_reset_host(struct ibmvfc_host *vhost)
/* __ibmvfc_reset_host - Reset the connection to the server (no locking) @vhost: struct ibmvfc host to reset  */
static void __ibmvfc_reset_host(struct ibmvfc_host *vhost)
{
	if (vhost->logged_in && vhost->action != IBMVFC_HOST_ACTION_LOGO_WAIT &&
	    !ibmvfc_set_host_state(vhost, IBMVFC_INITIALIZING)) {
		scsi_block_requests(vhost->host);
		ibmvfc_set_host_action(vhost, IBMVFC_HOST_ACTION_LOGO);
		vhost->job_step = ibmvfc_npiv_logout;
		wake_up(&vhost->work_wait_q);
	} else
		ibmvfc_hard_reset_host(vhost);
}