vdo_add_reco...ournal_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« vdo_add_reco...ournal_entry(9) πŸ’«

okay so bestie, welcome to the Kernel API Manual β€” yes the actual kernel API manual, dm-vdo edition, we're in the big leagues now 🫢 this page is about vdo_add_recovery_journal_entry, and no, the title isn't a typo, the real manual header just truncates it like that (vdo_add_reco...ournal_entry(9)) because even the manpage index has a character limit, iconic behavior honestly ✨


🌸 NAME 🌸

vdo_add_recovery_journal_entry β€” literally just: add an entry to a recovery journal. that's the whole bit. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void vdo_add_recovery_journal_entry (struct recovery_journal *journal ,
struct data_vio *data_vio );

two args, returns void, no cap. πŸŽ€


πŸ“ ARGUMENTS πŸ“

  • journal β€” the journal you're making an entry in. that's it, that's the vibe. the destination. the main character of the whole operation πŸ”₯
  • data_vio β€” the data_vio you're adding an entry for. and okay listen, this part matters: the entry gets taken from the logical and new_mapped fields of the data_vio πŸ‘‘ and also, the data_vio's recovery_sequence_number field gets set to the sequence number of the journal block where the entry was actually made. so it comes back out with receipts, iykyk ✨

πŸ’œ DESCRIPTION πŸ’œ

this method is asynchronous, bestie β€” say it with me, asynchronous 😭 so like, the data_vio will not be called back until the entry is committed to the on-disk journal. on-disk. committed. no shortcuts, no vibes-only commits, we wait for the real thing 🧚

lowkey important: don't assume you get a callback immediately, because you absolutely do not. the entry has to land on disk first. periodt. πŸ’€

🌈 SEE ALSO 🌈

okay this is the part where the manpage just dumps the entire friend group at you 🫢 take a breath, we're listing everybody:

like I said. everybody. πŸ’€πŸ’–


and that's the page!! πŸŽ€ huge slay to ./drivers/md/dm-vdo for shipping this, dated October 2026, version vibes immaculate, footer energy unmatched. go commit your entries responsibly bestie, and remember: asynchronous means wait for it πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from