[PATCH 0/2] mtd: ubi: fix direct reclaim deadlock with synchronous block devices

Yelin Fei yelinfei66 at gmail.com
Thu Oct 15 00:33:19 PDT 2026


From: Ye Linfei <yelinfei at ruijie.com.cn>

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




More information about the linux-mtd mailing list