summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-03-05 16:40:36 +0300
committerJens Axboe <axboe@kernel.dk>2024-03-06 18:30:34 +0300
commit342d81fde24152adf9747e6e126c8c3179d1a54c (patch)
tree5891081c2cb4b4a6accafcb5f5836a89c684cb80 /tools/perf/scripts/python
parentaa067325c05dc3a3aac588f40cacf8418f916cee (diff)
downloadlinux-342d81fde24152adf9747e6e126c8c3179d1a54c.tar.xz
drbd: refactor drbd_reconsider_queue_parameters
Split out a drbd_max_peer_bio_size helper for the peer I/O size, and condense the various checks to a nested min3(..., max())) instead of using a lot of local variables. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20240305134041.137006-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions