Page MenuHomeFreeBSD

ufshci: initialize alloc_units before the dedicated-buffer scan
ClosedPublic

Authored by jaeyoon on Aug 5 2026, 8:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 11, 1:59 PM
Unknown Object (File)
Sat, Oct 10, 5:44 PM
Unknown Object (File)
Sat, Oct 10, 5:43 PM
Unknown Object (File)
Sat, Oct 10, 5:38 PM
Unknown Object (File)
Tue, Oct 6, 9:59 PM
Unknown Object (File)
Mon, Oct 5, 5:15 AM
Unknown Object (File)
Sun, Oct 4, 11:50 AM
Unknown Object (File)
Sun, Oct 4, 11:50 AM
Subscribers
None

Details

Summary

If every unit descriptor read failed in the LU-dedicated WriteBooster
scan, alloc_units was used uninitialized. Start it at zero so that case
is treated as a zero-sized buffer and WriteBooster is disabled.

Sponsored by: Samsung Electronics

Diff Detail

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