Name
disk_stack_limits —
adjust queue limits for stacked drivers
Synopsis
void disk_stack_limits ( | struct gendisk * disk, |
| struct block_device * bdev, |
| sector_t offset) ; |
Arguments
disk
MD/DM gendisk (top)
bdev
the underlying block device (bottom)
offset
offset to beginning of data within component device
Description
Merges the limits for two queues. Returns 0 if alignment
didn't change. Returns -1 if adding the bottom device caused
misalignment.