bdev_stack_limits(9)

bdev_stack_limits9

Adjust queue limits for stacked drivers

Usage

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

Arguments

t

the stacking driver limits (top device)

bdev

the component block_device (bottom)

start

first data sector within component device

Overview

Merges queue limits for a top device and a block_device. Returns 0 if alignment didn't change. Returns -1 if adding the bottom device caused misalignment.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.