1BDEV_STACK_LIMITS(9)             Block Devices            BDEV_STACK_LIMITS(9)
2
3
4

NAME

6       bdev_stack_limits - adjust queue limits for stacked drivers
7

SYNOPSIS

9       int bdev_stack_limits(struct queue_limits * t,
10                             struct block_device * bdev, sector_t start);
11

ARGUMENTS

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

DESCRIPTION

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 2.6.         June 2019              BDEV_STACK_LIMITS(9)
Impressum