]> git.karo-electronics.de Git - linux-beck.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)
commitd99ee45b7cb89803b79745dc3014ba64bfd02b7d
tree92b852881f8031946f914f081accbe9cd22ad51e
parent8690cb8359d8e9f8d7ca12791ef7ea32b709df8b
[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