Page MenuHomeFreeBSD

mpi3mr: Increase device removal handshake queue depth to 16
AcceptedPublic

Authored by chandrakanth.patil_broadcom.com on Sun, Oct 4, 11:39 AM.
Tags
None
Referenced Files
F174887526: D60293.diff
Tue, Oct 6, 6:54 PM
F174852050: D60293.diff
Tue, Oct 6, 1:05 PM
F174841404: D60293.diff
Tue, Oct 6, 10:37 AM
Unknown Object (File)
Mon, Oct 5, 3:46 AM
Subscribers
None

Details

Summary

Increase MPI3MR_NUM_DEVRMCMD from 1 to 16 to allow up to 16 concurrent
device removal handshake commands. When multiple target devices are
removed simultaneously (e.g. during cable disconnects or enclosure
unplugs), a single command slot created contention and delayed
handshake processing.

Test Plan
  • Clean build with WERROR=-Werror across FreeBSD 16, 15, and 14 with INVARIANTS/WITNESS enabled, git bisect verified.
  • Tested simultaneous removal of 16 drives via enclosure power-off during active I/O, verifying concurrent handshake processing and clean teardown.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped