aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-03-06 15:03:28 +0100
committerJens Axboe <axboe@kernel.dk>2024-03-06 08:30:34 -0700
commit2828908d5cc8396e7c91d04d67e03ed834234bcd (patch)
tree452bac36f70a90e7ffb9b9dc1dc9b66c39e0fe32 /scripts/gdb/linux/utils.py
parentdrbd: refactor drbd_reconsider_queue_parameters (diff)
downloadlinux-rng-2828908d5cc8396e7c91d04d67e03ed834234bcd.tar.xz
linux-rng-2828908d5cc8396e7c91d04d67e03ed834234bcd.zip
drbd: refactor the backing dev max_segments calculation
Factor out a drbd_backing_dev_max_segments helper that checks the backing device limitation. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Philipp Reisner <philipp.reisner@linbit.com> Reviewed-by: Lars Ellenberg <lars.ellenberg@linbit.com> Tested-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com> Link: https://lore.kernel.org/r/20240306140332.623759-4-philipp.reisner@linbit.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions