apply_new_vdo_configuration(9)
π
apply_new_vdo_configuration(9) β like, the Kernel API Manual page you actually wanna read π
okay bestie, so this one lives in the Kernel API Manual (yes, apply_new_vdo_configuration(9), section 9, kernel-land, very serious business) and honestly? it's lowkey a little guy with a big job. let's get into it β¨
πΈ NAME πΈ
apply_new_vdo_configuration β the function that attempts to make any configuration changes from the table being resumed. that's it, that's the whole vibe. it tries. it attempts. it's giving "i'll do my best" energy π«Ά
β¨ SYNOPSIS β¨
int apply_new_vdo_configuration (struct vdo *vdo , struct device_config
*config );
look at that signature. two pointers, one int return. iconic. no cap π
π¦ ARGUMENTS π¦
vdoβ thevdobeing resumed. that's the main character right there πconfigβ the new device configuration, and it's derived from the table with which thevdois being resumed. so like, it came from the table, bestie. it's a whole derivative situation π
π₯ RETURN π₯
VDO_SUCCESS or an error. that's the whole spectrum β flawless victory or an error, no in-between, no "it's complicated" π
ngl, "or an error" is doing a lot of heavy lifting in that sentence but we respect it fr fr
π SEE ALSO π
okay so this is the part where the page just. drops the entire friend group in the chat. like, everybody's here. and the kernel file it comes from is ./drivers/md/dm-vdo/dm-vdo-target.c β noted, saved, screenshotted πΈ
here's the whole squad, in order, bestie:
free_device_config(9)get_version_number(9)parse_bool(9)parse_memory(9)parse_slab_size(9)process_one_thread_config_spec(9)parse_one_thread_config_spec(9)parse_thread_config_string(9)process_one_key_value_pair(9)parse_one_key_value_pair(9)parse_key_value_pairs(9)parse_optional_arguments(9)handle_parse_error(9)parse_device_config(9)get_thread_id_for_phase(9)advance_phase(9)finish_operation_callback(9)decode_from_super_block(9)decode_vdo(9)pre_load_callback(9)get_bit_array_size(9)grow_bit_array(9)allocate_instance(9)check_may_grow_physical(9)grow_layout(9)validate_new_device_config(9)write_super_block_for_suspend(9)suspend_callback(9)was_new(9)requires_repair(9)get_load_type(9)load_callback(9)handle_load_error(9)write_super_block_for_resume(9)resume_callback(9)grow_logical_callback(9)handle_logical_growth_error(9)perform_grow_logical(9)copy_partition(9)grow_physical_callback(9)handle_physical_growth_error(9)perform_grow_physical(9)
like, forty-two references. FORTY-TWO. the way this page said "you want context? here's ALL the context" and honestly? obsessed ππ
that's the whole page, bestie, we ate and left no crumbs π
sign-off szn π β this lil masterpiece comes from ./drivers/md/dm-vdo, dated October 2026, and the page itself is apply_new_vdo_configuration(9). mwah. no notes. periodt π
β¨
π¦ 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