HomeFreeBSD

mpi3mr: Block I/Os While Task Management is in Progress

Description

mpi3mr: Block I/Os While Task Management is in Progress

The driver previously blocked I/Os only for OS-initiated task
management commands. This patch extends the behavior to also
block I/Os during application-initiated task management
operations (excluding Task Abort).

Before submitting such commands to the firmware, I/O
submissions are paused for the respective device. Once the
command completes, I/O operations are resumed.

This ensures safe and consistent task management handling.

Note: Warner landed this with the pending suggestion since this change is good enough for 14.3, but chs' suggestion for better atomics needs to be implemented soon

Discussed with: imp, chs
Differential Revision: https://reviews.freebsd.org/D49749

(cherry picked from commit 49445b54638f7b2d45942edd61c70fe0baa28f37)

Details

Provenance
chandrakanth.patil_broadcom.comAuthored on Apr 27 2025, 11:39 PM
impCommitted on Apr 30 2025, 5:05 PM
Differential Revision
D49749: mpi3mr: Block I/Os While Task Management is in Progress
Parents
rG19981894d133: mpi3mr: Add NVData Parameter for Host Timestamp Synchronization
Branches
Unknown
Tags
Unknown