diff options
| author | Chaitanya Kulkarni <ckulkarnilinux@gmail.com> | 2025-11-19 15:22:34 -0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-11-20 07:42:32 -0700 |
| commit | e8f0abdd49baacee3886d5827f113514fcd9fd05 (patch) | |
| tree | 78adbedd4dd88fbf60efba5437a6386a038d34c9 /scripts/bpf_doc.py | |
| parent | b11e483a1cc32e7b557ff680e9bfb4ff11dea9c1 (diff) | |
zloop: clear nowait flag in workqueue context
The zloop driver advertises REQ_NOWAIT support through BLK_FEAT_NOWAIT
(enabled by default for all blk-mq devices), and honors the nowait
behavior throughout zloop_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 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
