diff options
| author | Christoph Hellwig <hch@lst.de> | 2024-03-05 16:40:36 +0300 | 
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2024-03-06 18:30:34 +0300 | 
| commit | 342d81fde24152adf9747e6e126c8c3179d1a54c (patch) | |
| tree | 5891081c2cb4b4a6accafcb5f5836a89c684cb80 /lib/test_fortify/write_overflow-strncpy-src.c | |
| parent | aa067325c05dc3a3aac588f40cacf8418f916cee (diff) | |
| download | linux-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 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions
