async_raid6_datap_recov(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ async_raid6_datap_recov(9) πŸ’œ

okay bestie, so we're in the Kernel API Manual today, and no this isn't a drill β€” this is the literal page for async_raid6_datap_recov(9) and it's honestly kind of iconic. πŸŽ€


✨ NAME ✨

async_raid6_datap_recov β€” asynchronously calculate a data and the 'p' block πŸ¦‹

like, read that again. it does two things at once. main character energy fr fr.


🌸 SYNOPSIS 🌸

struct dma_async_tx_descriptor * async_raid6_datap_recov (int disks ,
       size_t bytes , int faila , struct page **blocks , unsigned int *offs ,
       struct async_submit_ctl *submit );

look at that signature. she's long, she's thorough, she returns a struct dma_async_tx_descriptor *. we love a return type that actually tells you something. πŸ’…


🫢 ARGUMENTS 🫢

okay so here's the whole cast β€” every single one of them, no cuts:

  • disks β€” number of disks in the RAID-6 array. yes, all of them. count them. πŸ‘‘
  • bytes β€” block size. the actual size of the block, in bytes. that's it, that's the whole thing. ✨
  • faila β€” failed drive index. this is the one that ghosted us and now we're over here doing recovery. 😭
  • blocks β€” array of source pointers where the last two entries are p and q. that's the important bit β€” p and q live at the end, don't come for me if you get the order wrong. πŸ”₯
  • offs β€” array of offset for pages in blocks. matches up with blocks, one offset per page. ⭐
  • submit β€” submission/completion modifiers. the little knobs for how this all gets submitted and marked done. πŸŽ€

🌈 SEE ALSO 🌈

  • Kernel file ./crypto/async_tx/async_raid6_recov.c β€” go read the source, iykyk πŸ‘€
  • async_raid6_2data_recov(9) β€” her sister function, also slaying in her own way πŸ’–

ngl this one has a tiny call β€” six args, one return, and p and q chillin' at the end of blocks. don't overthink it, bestie. 🧚

and that's the whole page! shoutout to the source/version line ./crypto/async_tx and the date October 2026, from the Kernel API Manual β€” see you in the next one, mwah πŸ’‹πŸ’œ

πŸ“¦ where this page comes from