diff options
author | Christoph Hellwig <hch@lst.de> | 2024-06-17 08:04:46 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-06-19 07:58:28 -0600 |
commit | f76af42f8bf13d2620084f305f01691de9238fc7 (patch) | |
tree | 814d35705b28f41ca56db8f1c0c200d0a3cf1338 /io_uring/cancel.c | |
parent | aadd5c59c910427c0464c217d5ed588ff14e2502 (diff) | |
download | lwn-f76af42f8bf13d2620084f305f01691de9238fc7.tar.gz lwn-f76af42f8bf13d2620084f305f01691de9238fc7.zip |
block: move the nowait flag to queue_limits
Move the nowait flag into the queue_limits feature field so that it can
be set atomically with the queue frozen.
Stacking drivers are simplified in that they now can simply set the
flag, and blk_stack_limits will clear it when the features is not
supported by any of the underlying devices.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20240617060532.127975-20-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/cancel.c')
0 files changed, 0 insertions, 0 deletions