From: Vikas Chaudhary Date: Wed, 28 Apr 2010 06:08:11 +0000 (+0530) Subject: [SCSI] qla4xxx: set device state as per Link UP and LINK DOWN X-Git-Tag: v2.6.35-rc1~470^2^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=065aa1b4db63c7fa68a3e889510c4e63404a1ac7;p=pandora-kernel.git [SCSI] qla4xxx: set device state as per Link UP and LINK DOWN Link Down -> Mark all devices missing Previously, the driver took no action on a Link Down, and waited for the I/O on a dead connection to timeout in the firmware before marking the DDB missing. Link Up -> Mark all devices online F/W will do auto login to all the devices only once. After that its the responsibility of the driver to relogin to devices whenever there is : * Any sort of connection failure or * KATO expires indicating target has logged out or * I/O times out etc. Signed-off-by: Vikas Chaudhary Signed-off-by: Karen Higgins Signed-off-by: Ravi Anand Reviewed-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed