Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

srp_reconnect_rport(9) [centos man page]


srp_reconnect_rport - reconnect to an SRP target port SYNOPSIS
int srp_reconnect_rport(struct srp_rport * rport); ARGUMENTS
rport -- undescribed -- DESCRIPTION
Blocks SCSI command queueing before invoking reconnect such that queuecommand won't be invoked concurrently with reconnect from outside the SCSI EH. This is important since a reconnect implementation may reallocate resources needed by queuecommand. NOTES
- This function neither waits until outstanding requests have finished nor tries to abort these. It is the responsibility of the reconnect function to finish outstanding commands before reconnecting to the target port. - It is the responsibility of the caller to ensure that the resources reallocated by the reconnect function won't be used while this function is in progress. One possible strategy is to invoke this function from the context of the SCSI EH thread only. Another possible strategy is to lock the rport mutex inside each SCSI LLD callback that can be invoked by the SCSI EH (the scsi_host_template.eh_*() functions and also the scsi_host_template.queuecommand function). AUTHORS
James Bottomley <> Author. Rob Landley <> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SRP_RECONNECT_RPORT(9)

Check Out this Related Man Page

AHA152X_CS(4)						     Kernel Interfaces Manual						     AHA152X_CS(4)

aha152x_cs - Adaptec AHA-152X compatible PCMCIA device driver SYNOPSIS
insmod aha152x_cs.o [pc_debug=n] [irq_list=i,j,...] [host_id=n] [reconnect=n] [parity=n] [synchronous=n] [reset_delay=n] [ext_trans=n] DESCRIPTION
aha152x_cs is the low-level Card Services driver for various PCMCIA SCSI adapters that are compatible with the Adaptec AHA-152X host adapter. These include the New Media Bus Toaster, the Adaptec AHA-1460, and various other OEM cards. PARAMETERS
pc_debug=n Selects the PCMCIA debugging level. This parameter is only available if the module is compiled with debugging enabled. A non-zero value enables debugging. irq_list=i,j,... Specifies the set of interrupts that may be allocated by this driver. host_id=n Specifies the SCSI ID of the host adapter. The default host ID is 7. reconnect=n Enables support for disconnect/reconnect, if non-zero. The default is 1 (true). parity=n Enables SCSI parity checking. The default is 1 (true). synchronous=n Enables negotiation of synchronous SCSI transfers. The default is 0 (false). reset_delay=n Specifies a delay for SCSI bus resets, in 10 millisecond intervals. The default is 100. ext_trans=n Enables the ``extended translation'' scheme for partition tables of drives larger than 1 GB. AUTHOR
David Hinds - SEE ALSO
cardmgr(8), pcmcia(5). pcmcia-cs 2000/06/12 21:24:47 AHA152X_CS(4)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers


Hi all, I've managed to get Mandrake 9 installed by disconnecting my 2 windows' drives. When I reconnect them Mandrake wants to take over. I figure it's time for the BootManager, or should I use a Linux specific one like Lilo? Or have I already stuffed up by not running Lilo at time of... (2 Replies)
Discussion started by: onestepto
2 Replies

2. Solaris

Mirro meaning and test

Problem: i have two HDD one on primary SCSI port and the second one on the secondary SCSI port and i make mirror with the following commands: dft format_disk esp1 scsi3 dft create_sys dft mirror_sys and the mirror operation successfully finished but when i rebooting the station with only one... (0 Replies)
Discussion started by: hatemeid
0 Replies

3. Programming

SCSI interfacing by C

how can I make interfacing with the SCSI controller on linux system using C language to send or recieve data via this SCSI port like I made with serial port and socket ???:confused: how can I deal with this port ??:rolleyes: how can I get its address or its device name ???:eek: thanks for help. (2 Replies)
Discussion started by: Ahmed waheed
2 Replies

4. UNIX for Advanced & Expert Users

Kernel Programming: Finding the number of I/O requests

Hi I'd like to know a logic or a strategy to count the number of I/O requests that are being made. I have the PID of the process for which this needed to be done. Does anyone have any clue as to how to do this? This is to be done in Kernel programming in C. P.S: This is to be done in... (2 Replies)
Discussion started by: Ir1s
2 Replies

5. UNIX for Dummies Questions & Answers

Help with commands

Hi again guys, today i bring to you new doubts, let me show the first example #!/bin/bash # ligass: lista archivos que son enlace simbólico o tienen enlaces hard # simbólicos: en ls -l se busca que empiece con l if then echo Error: ligas: $1 no es un directorio exit code tags please On... (7 Replies)
Discussion started by: Newer
7 Replies

6. AIX

AIX help -reconnect EMC lun

we have an old AIX system with important data on an EMC LUN. the AIX server crashed and we had to rebuild it with the old AIX os 5.8. how do we reconnect the EMC LUN without losing the data? (15 Replies)
Discussion started by: jhudson12
15 Replies