]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfcoe: Use fka_period as periodic timeouts to age out fcf if
authorJoe Eykholt <jeykholt@cisco.com>
Fri, 11 Jun 2010 23:44:15 +0000 (16:44 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:01:47 +0000 (12:01 -0500)
commit08fdcdbad5b8a64cbae48ae9697ecb5dd29ffc96
tree92b852881f8031946f914f081accbe9cd22ad51e
parenta1c4095924f9e28d6696c9d83e51d3d75d39261f
[SCSI] libfcoe: Use fka_period as periodic timeouts to age out fcf if

keep alives are disabled due to fd_flags set and also
stop updating keep alive values in that case.

Update select fcf time only if fcf is not already selected or
select time is not already determined from parse adv, and then
have select time cleared only once after fcf is selected.

Changed deadline check to time_after_eq() from time_after()
since now next timeout will be on exact 2.5 times FKA followed
by first advertisement.

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