linux-stable/drivers/block/drbd
Christoph Hellwig 342d81fde2 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>
2024-03-06 08:30:34 -07:00
..
drbd_actlog.c drbd: actlog: fix kernel-doc warnings and spelling 2023-12-22 07:18:35 -07:00
drbd_bitmap.c drbd: use __bio_add_page to add page to bio 2023-05-31 09:50:02 -06:00
drbd_buildtag.c drbd: split off drbd_config into separate file 2023-01-29 15:18:33 -07:00
drbd_debugfs.c drbd: drop API_VERSION define 2023-01-29 15:18:33 -07:00
drbd_debugfs.h drbd: use consistent license 2022-11-22 19:38:39 -07:00
drbd_int.h hardening updates for v6.7-rc1 2023-10-30 19:09:55 -10:00
drbd_interval.c drbd: drbd_insert_interval(): Clarify comment 2023-01-29 15:18:33 -07:00
drbd_interval.h drbd: use consistent license 2022-11-22 19:38:39 -07:00
drbd_main.c drbd: pass the max_hw_sectors limit to blk_alloc_disk 2024-03-06 08:30:34 -07:00
drbd_nl.c drbd: refactor drbd_reconsider_queue_parameters 2024-03-06 08:30:34 -07:00
drbd_nla.c drbd: use consistent license 2022-11-22 19:38:39 -07:00
drbd_nla.h drbd: use consistent license 2022-11-22 19:38:39 -07:00
drbd_polymorph_printk.h drbd: add context parameter to expect() macro 2022-12-01 11:33:49 -07:00
drbd_proc.c drbd: drop API_VERSION define 2023-01-29 15:18:33 -07:00
drbd_protocol.h drbd: use consistent license 2022-11-22 19:38:39 -07:00
drbd_receiver.c drbd: stop defining __KERNEL_SYSCALLS__ 2023-06-05 10:45:25 -06:00
drbd_req.c drbd: Pass a peer device to the resync and online verify functions 2023-04-01 20:27:55 -06:00
drbd_req.h drbd: pass drbd_peer_device to __req_mod 2023-04-01 20:27:55 -06:00
drbd_state_change.h drbd: fix function cast warnings in state machine 2024-02-13 08:55:40 -07:00
drbd_state.c drbd: fix function cast warnings in state machine 2024-02-13 08:55:40 -07:00
drbd_state.h drbd: use consistent license 2022-11-22 19:38:39 -07:00
drbd_strings.c drbd: use consistent license 2022-11-22 19:38:39 -07:00
drbd_strings.h drbd: use consistent license 2022-11-22 19:38:39 -07:00
drbd_vli.h drbd: remove unnecessary assignment in vli_encode_bits 2023-01-29 15:18:33 -07:00
drbd_worker.c drbd: Pass a peer device to the resync and online verify functions 2023-04-01 20:27:55 -06:00
Kconfig drbd: use consistent license 2022-11-22 19:38:39 -07:00
Makefile drbd: split off drbd_buildtag into separate file 2023-01-29 15:18:33 -07:00