queue_limits_stack_bdev(9)
queue_limits_stack_bdev(9) π β a Kernel API Manual page β¨
okay so bestie, this is the whole page for queue_limits_stack_bdev from the Kernel API Manual β and yes, it's giving βstacked devices need compatible block sizes and alignmentsβ energy. no cap. π«Ά
πΈ NAME πΈ
queue_limits_stack_bdev β adjust queue_limits for stacked devices π
β¨ SYNOPSIS β¨
void queue_limits_stack_bdev (struct queue_limits *t , struct
block_device *bdev , sector_t offset , const char *pfx );
π ARGUMENTS π
tβ the stacking driver limits (top device). this is the top-levelqueue_limitsstruct your stacking driver hands over, bestie πbdevβ the underlying block device (bottom). the block device underneath, the bottom-device main character π¦offsetβ offset to beginning of data within component device. literally where the data starts inside the component device, no cap πpfxβ prefix to use for warnings logged. the little prefix string that gets slapped on warnings when theyβre logged π
π¦ DESCRIPTION π¦
okay so this function is used by stacking drivers like MD and DM to make sure all component devices have compatible block sizes and alignments. fr fr, thatβs the whole assignment. π
the stacking driver must provide a queue_limits struct (top), and then it iteratively calls the stacking function for all component (bottom) devices. the stacking function will attempt to combine the values and ensure proper alignment. itβs giving βmerge the vibes, keep the alignment correctβ β¨
π₯ SEE ALSO π₯
- Kernel file
./block/blk-settings.c blk_set_stacking_limits(9)queue_limits_commit_update(9)queue_limits_commit_update_frozen(9)queue_limits_set(9)blk_stack_limits(9)queue_limits_stack_integrity(9)blk_set_queue_depth(9)
mwah π β source path ./block, date October 2026, and the page is queue_limits_stack_bdev(9). thatβs the footer, folded into a cute lil bye. slay. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms