diff options
author | Christoph Hellwig <hch@lst.de> | 2024-03-06 15:03:28 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-03-06 16:30:34 +0100 |
commit | 2828908d5cc8396e7c91d04d67e03ed834234bcd (patch) | |
tree | 452bac36f70a90e7ffb9b9dc1dc9b66c39e0fe32 /drivers/watchdog/sunplus_wdt.c | |
parent | drbd: refactor drbd_reconsider_queue_parameters (diff) | |
download | linux-2828908d5cc8396e7c91d04d67e03ed834234bcd.tar.xz linux-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 'drivers/watchdog/sunplus_wdt.c')
0 files changed, 0 insertions, 0 deletions