]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implemented Device Lost Timer, which is used to give target device the time to recove...
authorram <ram@FreeBSD.org>
Wed, 18 Jul 2018 07:01:34 +0000 (07:01 +0000)
committerram <ram@FreeBSD.org>
Wed, 18 Jul 2018 07:01:34 +0000 (07:01 +0000)
commitbf65d05707104df94117a293327d797d71a0118d
treee65fa21db99cc78dbef84f50138a76425004e58d
parentbd311ee1a5ca58b461b8b9b269bbd96276238671
Implemented Device Lost Timer, which is used to give target device the time to recover before marking dead.

Issue: IO fails immediately after doing port-toggle.
Fix: Added LDT(Device Lost Timer)- we wait a specific period of time prior to telling the OS about lost device.

Approved by: ken, mav
MFC after: 3 days
Differential Revision: D16196
sys/dev/ocs_fc/ocs.h
sys/dev/ocs_fc/ocs_cam.c
sys/dev/ocs_fc/ocs_pci.c
sys/dev/ocs_fc/ocs_xport.c