Commit aa06732
drbd: pass the max_hw_sectors limit to blk_alloc_disk
Pass a queue_limits structure with the max_hw_sectors limit to
blk_alloc_disk instead of updating the limit on the allocated gendisk.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240305134041.137006-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 5f2ad31 commit aa06732
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2690 | 2690 | | |
2691 | 2691 | | |
2692 | 2692 | | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
| 2700 | + | |
2693 | 2701 | | |
2694 | 2702 | | |
2695 | 2703 | | |
| |||
2708 | 2716 | | |
2709 | 2717 | | |
2710 | 2718 | | |
2711 | | - | |
| 2719 | + | |
2712 | 2720 | | |
2713 | 2721 | | |
2714 | 2722 | | |
| |||
2729 | 2737 | | |
2730 | 2738 | | |
2731 | 2739 | | |
2732 | | - | |
2733 | | - | |
2734 | | - | |
2735 | 2740 | | |
2736 | 2741 | | |
2737 | 2742 | | |
| |||
0 commit comments