linux-yocto/drivers/nvme/host
Christoph Hellwig 1e1a9cecfa 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>
2025-01-31 07:20:08 -07:00
..
apple.c block: remove BLK_MQ_F_NO_SCHED 2025-01-06 07:37:41 -07:00
auth.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
constants.c nvme: fix status magic numbers 2024-06-24 12:53:42 -07:00
core.c block: force noio scope in blk_mq_freeze_queue 2025-01-31 07:20:08 -07:00
fabrics.c nvme-tcp: check for invalidated or revoked key 2024-08-22 13:25:07 -07:00
fabrics.h nvme-pci: do not directly handle subsys reset fallout 2024-06-26 07:02:22 -07:00
fault_inject.c fault-inject: improve build for CONFIG_FAULT_INJECTION=n 2024-09-01 20:43:33 -07:00
fc.c nvme: replace blk_mq_pci_map_queues with blk_mq_map_hw_queues 2024-12-23 08:17:23 -07:00
fc.h
hwmon.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ioctl.c block-6.13-20242901 2024-11-30 15:47:29 -08:00
Kconfig nvme-tcp: fix link failure for TCP auth 2024-09-10 07:41:07 -07:00
Makefile
multipath.c block: force noio scope in blk_mq_freeze_queue 2025-01-31 07:20:08 -07:00
nvme.h for-6.14/block-20250118 2025-01-20 19:38:46 -08:00
pci.c for-6.14/block-20250118 2025-01-20 19:38:46 -08:00
pr.c nvme: tuning pr code by using defined structs and macros 2024-11-21 08:57:42 -08:00
rdma.c nvme-rdma: unquiesce admin_q before destroy it 2024-12-04 10:15:46 -08:00
sysfs.c nvme: null terminate nvme_tls_attrs 2024-09-24 23:34:13 -07:00
tcp.c for-6.14/block-20250118 2025-01-20 19:38:46 -08:00
trace.c nvme: parse reservation commands's action and rtype to string 2024-11-13 08:51:24 -08:00
trace.h
zns.c block: pre-calculate max_zone_append_sectors 2024-11-11 09:20:36 -07:00