1BDEV_STACK_LIMITS(9) Block Devices BDEV_STACK_LIMITS(9)
2
3
4
6 bdev_stack_limits - adjust queue limits for stacked drivers
7
9 int bdev_stack_limits(struct queue_limits * t,
10 struct block_device * bdev, sector_t start);
11
13 t
14 the stacking driver limits (top device)
15
16 bdev
17 the component block_device (bottom)
18
19 start
20 first data sector within component device
21
23 Merges queue limits for a top device and a block_device. Returns 0 if
24 alignment didn't change. Returns -1 if adding the bottom device caused
25 misalignment.
26
28Kernel Hackers Manual 3.10 June 2019 BDEV_STACK_LIMITS(9)