Page MenuHomeFreeBSD

hptmv(4): use xpt_alloc_ccb/xpt_free_ccb instead of malloc/free.
ClosedPublic

Authored by trasz on Oct 18 2020, 6:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 27, 5:19 AM
Unknown Object (File)
Tue, Jan 21, 1:17 PM
Unknown Object (File)
Mon, Jan 20, 8:00 AM
Unknown Object (File)
Jan 10 2025, 6:17 AM
Unknown Object (File)
Dec 7 2024, 2:24 PM
Unknown Object (File)
Sep 23 2024, 10:33 PM
Unknown Object (File)
Sep 17 2024, 10:44 PM
Unknown Object (File)
Sep 5 2024, 6:03 PM
Subscribers

Details

Summary

Make hptmv(4) use xpt_alloc_ccb/xpt_free_ccb instead of malloc/free.
Unfortunately I don't have the hardware necessary to test it; testers
welcome.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34243
Build 31387: arc lint + arc unit

Event Timeline

trasz requested review of this revision.Oct 18 2020, 6:15 PM

The core around this looks pretty weird to me, considering hpt_async() immediately calls panic(). But I don't expect troubles from this change.

This revision is now accepted and ready to land.Oct 18 2020, 7:08 PM
sys/dev/hptmv/entry.c
2011

Since it is not _nowait it is not supposed to fail.

Agree with mav on both points. This looks low risk and correct