diff options
author | Christoph Hellwig <hch@lst.de> | 2024-03-06 17:03:28 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-03-06 18:30:34 +0300 |
commit | 2828908d5cc8396e7c91d04d67e03ed834234bcd (patch) | |
tree | 452bac36f70a90e7ffb9b9dc1dc9b66c39e0fe32 /net | |
parent | 342d81fde24152adf9747e6e126c8c3179d1a54c (diff) | |
download | linux-2828908d5cc8396e7c91d04d67e03ed834234bcd.tar.xz |
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 'net')
0 files changed, 0 insertions, 0 deletions