BLK_STACK_LIMITS - Online Linux Manual Page

Section : 9
Updated : June 2018
Source : Kernel Hackers Manual 2​.6​.
Note : Block Devices

NAMEblk_stack_limits − adjust queue_limits for stacked devices

SYNOPSISint 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 device

DESCRIPTIONThis 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​.

COPYRIGHT
0
Johanes Gumabo
Data Size   :   4,720 byte
man-blk_stack_limits.9Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   11 / 1,223,517
Visitor ID   :     :  
Visitor IP   :   3.139.81.51   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   37.751000 x -97.822000   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :     :  
Provider Province   :   ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.