diff options
author | Christoph Hellwig <hch@lst.de> | 2024-02-13 08:34:14 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-02-13 08:56:59 -0700 |
commit | d690cb8ae14bd377d422b7905b6959c7e7a45b95 (patch) | |
tree | c909d6c4f74dfd4c69ba78d57aa8d737d9515cf3 /tools/perf/scripts/python/check-perf-trace.py | |
parent | c490f226a0ea22639e81ac34edc884e238ea955a (diff) |
block: add an API to atomically update queue limits
Add a new queue_limits_{start,commit}_update pair of functions that
allows taking an atomic snapshot of queue limits, update it, and
commit it if it passes validity checking. Also use the low-level
validation helper to implement blk_set_default_limits instead of
duplicating the initialization.
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/20240213073425.1621680-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions