async_raid6_datap_recov(9)
π 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 inblocks. matches up withblocks, 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
- 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