]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[SCSI] fcoe: cleans up fcoe_disable and fcoe_enable
authorVasu Dev <vasu.dev@intel.com>
Tue, 20 Jul 2010 22:19:26 +0000 (15:19 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:05:46 +0000 (09:05 -0500)
commit9d4cbc05f32fc0a1024de2a9d5635bc9d180e4ae
tree89dcff72ec501b015dc867a33a4cef33466ab0a8
parente0d93c5bc47ae270ea38192c9a49f660e0406060
[SCSI] fcoe: cleans up fcoe_disable and fcoe_enable

The fc_fabric_logoff and fc_fabric_login are redundant
here after recently added fcoe_ctlr_link_down/up to
these functions, therefore this patch removes logoff
and login to only use link down and up here. This works
best for their current usages with fcoe DCB link down or up.

This also works well to avoid EIO errors when fcoe DCB link
goes down as lport state moves out of ready quickly from
fcoe_ctlr_link_down and that allows re-queuing timed out IOs
for this case also.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe.c