Re: [PATCH v2] scsi: use GFP_NOIO to avoid circular locking dependency

From: Martin K. Petersen
Date: Mon Feb 03 2025 - 22:36:27 EST


On Wed, 29 Jan 2025 10:45:25 -0500, Rik van Riel wrote:

> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> Filesystems can write to disk from page reclaim with __GFP_FS
> set. Marc found a case where scsi_realloc_sdev_budget_map
> ends up in page reclaim with GFP_KERNEL, where it could try
> to take filesystem locks again, leading to a deadlock.
>
> [...]

Applied to 6.14/scsi-fixes, thanks!

[1/1] scsi: use GFP_NOIO to avoid circular locking dependency
https://git.kernel.org/mkp/scsi/c/5363ee9d110e

--
Martin K. Petersen Oracle Linux Engineering