diff options
author | 2025-01-06 09:35:11 +0100 | |
---|---|---|
committer | 2025-01-06 07:37:41 -0700 | |
commit | ce32496ec1abe866225f2e2005ceda68cf4c7bf4 (patch) | |
tree | 2415de287b8b651f1d4cdcc91b5c8e27c2c07131 /scripts/generate_rust_analyzer.py | |
parent | block: remove BLK_MQ_F_NO_SCHED (diff) | |
download | wireguard-linux-ce32496ec1abe866225f2e2005ceda68cf4c7bf4.tar.xz wireguard-linux-ce32496ec1abe866225f2e2005ceda68cf4c7bf4.zip |
block: simplify tag allocation policy selection
Use a plain BLK_MQ_F_* flag to select the round robin tag selection
instead of overlaying an enum with just two possible values into the
flags space.
Doing so allows adding a BLK_MQ_F_MAX sentinel for simplified overflow
checking in the messy debugfs helpers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20250106083531.799976-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions