vdo_reset_priority_table(9)
β¨ vdo_reset_priority_table(9) β¨
okay bestie, so this one lives in the Kernel API Manual and it's genuinely one of the most chill little functions you'll ever meet π
πΈ NAME πΈ
vdo_reset_priority_table β resets a priority table, leaving it in the exact same empty state as when it was freshly constructed π«Ά
likeβ¦ factory reset but make it minimal effort. no cap β¨
π¦ SYNOPSIS π¦
void vdo_reset_priority_table (struct priority_table *table );
that's it. that's the whole vibe check. π
π ARGUMENTS π
tableβ the table to reset. yes queen, this is the one you're wiping π§
π DESCRIPTION π
So here's the tea, and it's important tea β: this table does not own the entries stored inside it. Not even a little bit.
Because of that, those entries are not freed by this call β and they're not even unlinked from each other either. Like, the reset does not go in and detangle your linked list for you. It literally just leaves everything alone π
so yeah: reset the table, but the entries are still Very Much Your Problem, bestie. the function is not your mom. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/md/dm-vdo/priority-table.c vdo_make_priority_table(9)vdo_free_priority_table(9)vdo_priority_table_enqueue(9)vdo_priority_table_dequeue(9)vdo_priority_table_remove(9)vdo_is_priority_table_empty(9)
the whole girl group π go read them, iykyk π
and that's the page!! shipped with love from ./drivers/md/dm-vdo, stamped October 2026 β mwah πβ¨ not me being obsessed with a kernel function, but here we are π
π¦ 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