diff options
author | Christoph Hellwig <hch@lst.de> | 2025-01-10 06:47:13 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-01-10 07:29:23 -0700 |
commit | a16230649ce27f8ac7dd8a5b079d9657aa96de16 (patch) | |
tree | fd4e0044cd01af6013cd1d3dd6e0053ef1b668de /mm/msync.c | |
parent | d432c817c21a48c3baaa0d28e4d3e74b6aa238a0 (diff) | |
download | linux-a16230649ce27f8ac7dd8a5b079d9657aa96de16.tar.gz linux-a16230649ce27f8ac7dd8a5b079d9657aa96de16.tar.bz2 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 'mm/msync.c')
0 files changed, 0 insertions, 0 deletions