Page MenuHomeFreeBSD

camcontrol fwdownload minor improvements
ClosedPublic

Authored by imp on Feb 22 2022, 9:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 1:51 PM
Unknown Object (File)
Thu, Nov 14, 9:58 PM
Unknown Object (File)
Thu, Nov 14, 3:05 PM
Unknown Object (File)
Oct 24 2024, 7:29 AM
Unknown Object (File)
Oct 24 2024, 7:29 AM
Unknown Object (File)
Oct 24 2024, 7:29 AM
Unknown Object (File)
Oct 24 2024, 7:13 AM
Unknown Object (File)
Oct 13 2024, 4:26 PM
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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44540
Build 41428: arc lint + arc unit