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

(cherry picked from commit 41e946694333bcc6f64242f294312553f2ef2dcd)

Details

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

Event Timeline

Ram Kishore Vegesna <ram@FreeBSD.org> committed rG161148e61f5d: ocs_fc: Fix device lost timer where device is not getting deleted. (authored by Ram Kishore Vegesna <ram@FreeBSD.org>).Dec 17 2021, 10:31 AM