Re: [PATCH v2] mpi3mr: Fix potential deadlock in mpi3mr_fault_uevent_emit

"Martin K. Petersen" <[email protected]>
Newsgroups gmane.linux.scsi
Message-ID <[email protected]>
On Fri, 24 Jul 2026 23:22:31 +0530, Chandrakanth Patil wrote:

> mpi3mr_fault_uevent_emit() runs from the fault watchdog and reset
> paths, where host I/O may already be blocked. GFP_KERNEL allocations
> here, both the local kzalloc_obj() and the ones inside
> kobject_uevent_env() itself, can trigger reclaim that waits on that
> blocked I/O and deadlock.
> 
> Use memalloc_noio_save()/restore() to cover the whole call instead of
> just the local allocation.
> 
> [...]

Applied to 7.2/scsi-fixes, thanks!

[1/1] mpi3mr: Fix potential deadlock in mpi3mr_fault_uevent_emit
      https://git.kernel.org/mkp/scsi/c/ccff8c925715

-- 
Martin K. Petersen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.