diff options
| author | Chaitanya Kulkarni <ckulkarnilinux@gmail.com> | 2025-11-20 02:22:33 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-11-20 17:42:32 +0300 |
| commit | b11e483a1cc32e7b557ff680e9bfb4ff11dea9c1 (patch) | |
| tree | d702cb2188300a9cd0de18bd3a2e4cfebc6c669b /tools/docs/parse-headers.py | |
| parent | a9637ab93c6cfdf7a80a299b7de691dea6a7d7ba (diff) | |
| download | linux-b11e483a1cc32e7b557ff680e9bfb4ff11dea9c1.tar.xz | |
loop: clear nowait flag in workqueue context
The loop driver advertises REQ_NOWAIT support through BLK_FEAT_NOWAIT
(enabled by default for all blk-mq devices), and honors the nowait
behavior throughout loop_queue_rq().
However, actual I/O to the backing file is performed in a workqueue,
where blocking is allowed.
To avoid imposing unnecessary non-blocking constraints in this blocking
context, clear the REQ_NOWAIT flag before processing the request in the
workqueue context.
Signed-off-by: Chaitanya Kulkarni <ckulkarnilinux@gmail.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
