Page MenuHomeFreeBSD

camcontrol fwdownload minor improvements
ClosedPublic

Authored by imp on Feb 22 2022, 9:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 9:39 AM
Unknown Object (File)
Apr 22 2024, 10:16 PM
Unknown Object (File)
Apr 22 2024, 10:00 PM
Unknown Object (File)
Apr 7 2024, 4:46 AM
Unknown Object (File)
Mar 7 2024, 5:13 PM
Unknown Object (File)
Jan 13 2024, 11:41 PM
Unknown Object (File)
Dec 20 2023, 7:30 AM
Unknown Object (File)
Dec 17 2023, 5:26 AM
Subscribers
None

Details

Summary

Minor improvements to the fwdownload code:
o Print the path_id/target we're rescanning so it's not invisible
o No need for XPT_GDEVLIST, all the info is filled in. Remove it

and comment from a mistaken observation. libcam always fills these
in properly.

o Don't leak /dev/xpt fd in success cases.
o Rename fw_rescan_lun to fw_rescan_target and pass sim_mode to

only print path_id and target_id info.

Suggestions by: chs@
Fixes: 9835900cb95bcd068774934961fb1419719d595b
Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable