[PATCH 0/2] mtd: ubi: fix direct reclaim deadlock with synchronous block devices
From: Yelin Fei
Date: Thu Oct 15 2026 - 03:33:49 EST
From: Ye Linfei <yelinfei@xxxxxxxxxxxxx>
Two-part fix for ubiblock swap deadlock: forbid direct reclaim I/O in the synchronous dispatch path and switch the ltree entry allocation to GFP_NOIO.
Ye Linfei (2):
mtd: ubi: block: forbid direct reclaim I/O during synchronous read
mtd: ubi: use GFP_NOIO for lock tree entry allocation
drivers/mtd/ubi/block.c | 15 +++++++++++++++
drivers/mtd/ubi/eba.c | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
--
2.25.1