vdo_convert_maximum_age(9)
π« vdo_convert_maximum_age(9) π«
okay bestie, welcome to the Kernel API Manual page for vdo_convert_maximum_age</p> β yes the whole page is literally named that, it's a whole vibe π
β¨ NAME β¨
vdo_convert_maximum_age β converts the maximum age so it reflects the new recovery journal format π¦
πΈ SYNOPSIS πΈ
block_count_t vdo_convert_maximum_age (block_count_t age );
like, yes, that's the whole signature, no cap π
π ARGUMENTS π
ageβ the configured maximum age, bestie. that's the one you're feeding in π«Ά
β RETURN β
the converted age. that's it, that's the return value β¨
π DESCRIPTION π
okay so this is actually so interesting, let me set the scene for you π
in the old recovery journal format, each journal block held 311 entries, and every write bio made two entries. and the old maximum age was half the usable journal length. periodt.
now in the new format, each block holds only 217 entries β yeah, fewer, I know π β but each bio only makes one entry. so it kinda balances out.
so what this function does is convert the configured age so that the number of writes in a block map era is, like, the same in the old and the new formats π
and why do we care? two reasons, and they're both iconic:
- it keeps the bound on the amount of work required to recover the block map from the recovery journal the same across the format change π§
- it also keeps the amortization of block map page writes to write bios the same π
fr fr, that's the whole point. the vibes are preserved across the format change π
π₯ SEE ALSO π₯
- Kernel file
./drivers/md/dm-vdo/block-map.h vdo_entry_callback_fn(9)
okay that's the page!! go off bestie, you understood all of it, i'm obsessed π«Άπ
signing off from ./drivers/md/dm-vdo β dated October 2026 β catch you in the next manpage, 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