HomeFreeBSD

ocs_fc: Fix device lost timer where device is not getting deleted.

Description

ocs_fc: Fix device lost timer where device is not getting deleted.

Issue: Devices wont go away after the link down.

Device lost timer functionality in ocs_fc is broken,
is_target flag is not set in the target database and target delete is skipped.

Fix: Remove unused flags and delete the device when timer expires.

Reported by: ken@kdm.org
Reviewed by: mav, ken

Details

Provenance
Ram Kishore Vegesna <ram@FreeBSD.org>Authored on Sep 24 2021, 9:35 AM
Parents
rGd063d1bc9281: ocs_fc: When commands complete with an error, freeze the device queue.
Branches
Unknown
Tags
Unknown