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
2025-01-22 11:56:39 -08:00
2025-01-21 20:03:04 -08:00
2025-01-21 17:48:03 -08:00
2025-01-20 20:27:33 -08:00
2025-01-22 12:32:39 -08:00
2024-09-01 20:43:24 -07:00
2025-01-22 08:28:57 -08:00
2025-01-22 08:28:57 -08:00
2025-01-21 17:48:03 -08:00
2025-01-22 08:28:57 -08:00
2025-01-21 20:09:14 -08:00
2025-01-22 10:47:46 -08:00
2025-01-22 12:36:16 -08:00
2024-11-27 12:57:03 -08:00
2025-01-22 08:28:57 -08:00
2025-01-22 11:56:39 -08:00
2025-01-22 08:28:57 -08:00
2024-03-18 03:36:32 -06:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 8.1 GiB
Languages
C 97.5%
Assembly 1%
Shell 0.6%
Python 0.3%
Makefile 0.3%
Other 0.1%