Query: blk_stack_limits
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BLK_STACK_LIMITS(9) Block Devices BLK_STACK_LIMITS(9)NAMEblk_stack_limits - adjust queue_limits for stacked devicesSYNOPSISint blk_stack_limits(struct queue_limits * t, struct queue_limits * b, sector_t start);ARGUMENTSt the stacking driver limits (top device) b the underlying queue limits (bottom, component device) start first data sector within component deviceDESCRIPTIONThis function is used by stacking drivers like MD and DM to ensure that all component devices have compatible block sizes and alignments. The stacking driver must provide a queue_limits struct (top) and then iteratively call the stacking function for all component (bottom) devices. The stacking function will attempt to combine the values and ensure proper alignment. Returns 0 if the top and bottom queue_limits are compatible. The top device's block sizes and alignment offsets may be adjusted to ensure alignment with the bottom device. If no compatible sizes and alignments exist, -1 is returned and the resulting top queue_limits will have the misaligned flag set to indicate that the alignment_offset is undefined.COPYRIGHTKernel Hackers Manual 3.10 June 2014 BLK_STACK_LIMITS(9)
Related Man Pages |
---|
device(9) - debian |
tk_restackwindow(3) - suse |
tk_restackwindow(3tk) - opensolaris |
device(9) - linux |
device(9) - bsd |
Similar Topics in the Unix Linux Community |
---|
Shopt -s histappend |
Unsure why access time on a directory change isn't changing |
CentOS 6 ran out of space, need to reclaim it |
Controlling user input |
[TIP] Processing YAML files with yq |