set_compression_callback(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… set_compression_callback β€” the Kernel API Manual, bestie edition ✨

okay so real talk, you're reading the set_compression_callback(9) page from the kernel API manual and honestly? it's a whole vibe. it's giving "tiny function, huge friend group" because this thing lives in ./drivers/md/dm-vdo and it's surrounded by like sixty other functions at all times. main character energy fr fr πŸ’–


🌸 NAME 🌸

set_compression_callback β€” literally the callback that turns compression on or off. that's it. that's the whole job. no cap πŸŽ€


✨ SYNOPSIS ✨

void set_compression_callback (struct vdo_completion *completion );

like yes bestie, that's the entire signature, and yes the space before the closing paren is just how it's written, we don't fix it, we respect it 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • completion β€” the completion. (i know, i know, deeply unhelpful one-liner, but that's what the page says, so that's what we're saying. it's a struct vdo_completion * and it's the completion. periodt.) πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

bestie. sit down. hydrate. this is the friend group and it is long. every single one of these is a (9) page, and they all hang out together in the vdo corner of the kernel:

ngl, if you actually read all of those in one sitting you deserve a little treat. πŸ“ like genuinely, go get one.

the file these all live near is ./drivers/md/dm-vdo/vdo.c, so if you're doing a deep dive, start at Introduction(9) and vibe your way down. iykyk 🌈


🧚 sign-off 🧚

that's the whole page, bestie β€” short, sweet, and absolutely carried by its friend list. it ships from ./drivers/md/dm-vdo and it's dated October 2026, so mark your calendar and stan responsibly. ⭐

set_compression_callback(9) β€” you ate, honestly. πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from