Centos-kernel-stream-9/drivers/mtd
Ming Lei 16cc2d94bb block: force noio scope in blk_mq_freeze_queue
JIRA: https://issues.redhat.com/browse/RHEL-79409

commit 1e1a9cecfab3f22ebef0a976f849c87be8d03c1c
Author: Christoph Hellwig <hch@lst.de>
Date:   Fri Jan 31 13:03:47 2025 +0100

    block: force noio scope in blk_mq_freeze_queue

    When block drivers or the core block code perform allocations with a
    frozen queue, this could try to recurse into the block device to
    reclaim memory and deadlock.  Thus all allocations done by a process
    that froze a queue need to be done without __GFP_IO and __GFP_FS.
    Instead of tying to track all of them down, force a noio scope as
    part of freezing the queue.

    Note that nvme is a bit of a mess here due to the non-owner freezes,
    and they will be addressed separately.

    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Link: https://lore.kernel.org/r/20250131120352.1315351-2-hch@lst.de
    Signed-off-by: Jens Axboe <axboe@kernel.dk>

Signed-off-by: Ming Lei <ming.lei@redhat.com>
2025-03-14 16:48:44 +08:00
..
chips
devices fs,block: yield devices early 2024-04-17 10:39:09 +08:00
hyperbus
lpddr
maps mtd: maps: pismo: Convert to i2c's .probe_new() 2024-05-09 11:25:34 -04:00
nand
parsers
spi-nor mtd: spi-nor: core: Introduce method for RDID op 2024-09-09 14:54:30 -04:00
tests
ubi ubiblock: pass queue_limits to blk_mq_alloc_disk 2024-09-27 11:18:36 +08:00
Kconfig
Makefile
ftl.c mtd/ftl: don't cast away the type when calling add_mtd_blktrans_dev 2023-09-18 15:56:05 +08:00
inftlcore.c
inftlmount.c
mtd_blkdevs.c block: force noio scope in blk_mq_freeze_queue 2025-03-14 16:48:44 +08:00
mtdblock.c mtd: block: use a simple bool to track open for write 2023-09-18 17:59:17 +08:00
mtdblock_ro.c
mtdchar.c
mtdconcat.c
mtdcore.c drivers: remove struct module * setting from struct class 2023-11-01 11:12:29 -05:00
mtdcore.h
mtdoops.c
mtdpart.c mtd: mtdpart: Don't create platform device that'll never probe 2024-05-30 04:29:41 -04:00
mtdpstore.c
mtdsuper.c mtd: key superblock by device number 2024-04-17 10:37:14 +08:00
mtdswap.c
nftlcore.c
nftlmount.c
rfd_ftl.c mtd/rfd_ftl: don't cast away the type when calling add_mtd_blktrans_dev 2023-09-18 15:56:05 +08:00
sm_ftl.c
sm_ftl.h
ssfdc.c