diff options
author | 2025-01-10 06:47:13 +0100 | |
---|---|---|
committer | 2025-01-10 07:29:23 -0700 | |
commit | a16230649ce27f8ac7dd8a5b079d9657aa96de16 (patch) | |
tree | fd4e0044cd01af6013cd1d3dd6e0053ef1b668de /scripts/generate_rust_analyzer.py | |
parent | block: don't update BLK_FEAT_POLL in __blk_mq_update_nr_hw_queues (diff) | |
download | wireguard-linux-a16230649ce27f8ac7dd8a5b079d9657aa96de16.tar.xz wireguard-linux-a16230649ce27f8ac7dd8a5b079d9657aa96de16.zip |
block: add a store_limit operations for sysfs entries
De-duplicate the code for updating queue limits by adding a store_limit
method that allows having common code handle the actual queue limits
update.
Note that this is a pure refactoring patch and does not address the
existing freeze vs limits lock order problem in the refactored code,
which will be addressed next.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20250110054726.1499538-6-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