async_syndrome_val(9)
π async_syndrome_val β or, "let's check that raid6 syndrome, but make it async"
okay so bestie, you found a kernel API manual page π welcome, this one lives in the Kernel API Manual and it's about async_syndrome_val β asynchronously validate a raid6 syndrome. yes that's the whole NAME section, she's short and she's iconic β¨
πΈ SYNOPSIS
struct dma_async_tx_descriptor * async_syndrome_val (struct page
**blocks , unsigned int *offsets , int disks , size_t len , enum
sum_check_flags *pqres , struct page *spare , unsigned int s_off ,
struct async_submit_ctl *submit );
like, look at her. returns a struct dma_async_tx_descriptor *, takes a whole little friend group of arguments π«Ά full breakdown below, no skipping β¨
π ARGUMENTS
blocksβ the source blocks, indexed from0..disks-3, thenPatdisks-2andQatdisks-1. so the P and Q blocks are literally the last two seats in the row, iykyk πoffsetsβ the common offset into each block (both src and dest, bestie) where the transaction starts. one offset to rule them all β¨disksβ the number of blocks, including any missing P or Q β see below, there's lore πlenβ length of the operation, in bytes. numbers, we love her πpqresβ if the validation fails,SUM_CHECK_P_RESULTand/orSUM_CHECK_Q_RESULTget set here. it's giving "receipts" π§Ύspareβ a temporary result buffer, needed for the synchronous case π yes, temporary. don't get attached.s_offβ the spare buffer's page offset πsubmitβ the submission / completion modifiers, aka the vibe check for how this transaction goes down π₯
π¦ DESCRIPTION
so the same notes from async_gen_syndrome apply to the blocks and disks parameters of this routine β like, go read that one too, bestie, it's a whole thing π
and the synchronous path? it requires a temporary result buffer and submit->scribble to be specified. not optional. not negotiable. literally required, no cap π¨
π SEE ALSO
- Kernel file
./crypto/async_tx/async_pq.cπ async_gen_syndrome(9)π
that's the whole page, periodt π she came from ./crypto/async_tx, dated October 2026, and she's filed under the Kernel API Manual. go forth and validate those syndromes, bestie πΈπ¦β¨
π¦ 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