FC_REMOTE_PORT_BLOCK

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

fc_remote_port_block - temporarily block any scsi traffic to a remote port.  

SYNOPSIS

"SYNOPSIS"

int fc_remote_port_block (struct fc_rport * rport);  

ARGUMENTS

rport
remote port to be blocked.
 

DESCRIPTION

scsi lldd's with a FC transport call this routine to temporarily stop all scsi traffic to a remote port. If the port is not a SCSI target, no action is taken. If the port is a SCSI target, all attached devices are placed into a SDEV_BLOCK state and a timer is started. The timer is represents the maximum amount of time the port may be blocked. If the timer expires, the port is considered non-existent and the attached scsi devices will be removed.

Called from interrupt or normal process context.

Returns zero if successful or error if not  

NOTES

This routine assumes no locks are held on entry.

The timeout and timer types are extracted from the fc transport attributes from the caller's rport pointer.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
NOTES

This document was created by man2html, using the manual pages.
Time: 00:02:09 GMT, October 09, 2005