ext4_get_stripe_size(9)
π NAME π
Welcome to the Kernel API Manual page for ext4_get_stripe_size(9), bestie! π«Ά The function is ext4_get_stripe_size, and its whole job is literally: get the stripe size. That's the mission. Periodt. π
β¨ SYNOPSIS β¨
unsigned long ext4_get_stripe_size (struct ext4_sb_info *sbi );
π ARGUMENTS π
sbiβ in-memory super block info. That's the arg, bestie, and yes it's astruct ext4_sb_info *situation. π§
πΈ DESCRIPTION πΈ
okay so here's how the stripe size gets picked, no cap:
- If we have specified it via mount option, then use the mount option value. π
- If the value specified at mount time is greater than the blocks per group, use the super block value. β¨
- If the super block value is greater than blocks per group, return
0. π«Ά - The allocator needs it be less than blocks per group β that part is important, iykyk. π
π¦ SEE ALSO π¦
Kernel file ./fs/ext4/super.c β go snoop the source if you want, bestie. π
This cutie page is from ./fs/ext4, stamped October 2026, and it's the ext4_get_stripe_size(9) page in the Kernel API Manual. Mwah πβ¨
π¦ 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