diff options
author | Christoph Hellwig <hch@lst.de> | 2024-02-29 01:56:40 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-03-01 18:54:42 +0300 |
commit | 631d4efb8009df64deae8c1382b8cf43879a4e22 (patch) | |
tree | 5a1cb6d6c1223c895fd9baa6a5db958994195f41 /include | |
parent | 86b1e613eb3b8e6a0f87676e33d847b2eb204b22 (diff) | |
download | linux-631d4efb8009df64deae8c1382b8cf43879a4e22.tar.xz |
block: add a queue_limits_set helper
Add a small wrapper around queue_limits_commit_update for stacking
drivers that don't want to update existing limits, but set an
entirely new set.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240228225653.947152-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/blkdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index a14ea9344138..dd510ad7ce4b 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -889,6 +889,7 @@ queue_limits_start_update(struct request_queue *q) } int queue_limits_commit_update(struct request_queue *q, struct queue_limits *lim); +int queue_limits_set(struct request_queue *q, struct queue_limits *lim); /* * Access functions for manipulating queue properties |