perform_grow_logical(9)
π perform_grow_logical(9) β Kernel API Manual π
okay so bestie, welcome to the perform_grow_logical page, straight out of the kernel API manual β¨ this one's short but it's mighty, and like every good glow-up it comes with rules π
β¨ NAME β¨
perform_grow_logical β grow the logical size of the vdo π± (yes queen, make it bigger)
πΈ SYNOPSIS πΈ
int perform_grow_logical (struct vdo *vdo , block_count_t
new_logical_blocks );
like literally that's the whole function signature, no cap π«Ά
π ARGUMENTS π
vdoβ the vdo that's getting the glow-up π this is the one you're growing.new_logical_blocksβ the size the vdo should be grown to, i.e. the target number of logical blocks. this is the destination, not the journey β¨
π¦ CONTEXT π¦
okay so this is the important part, do not skip π
- You may only call this method when the vdo has been suspended.
- It must not be called from a base thread.
fr fr, respect the context restrictions or it's giving undefined behaviour π
β RETURN β
Returns VDO_SUCCESS or an error. that's it, that's the tea π
π SEE ALSO π
Kernel file ./drivers/md/dm-vdo/dm-vdo-target.c, plus this whole squad of related pages (yes, all of them, i'm not skipping a single one π«Ά):
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)copy_partition(9)grow_physical_callback(9)handle_physical_growth_error(9)perform_grow_physical(9)apply_new_vdo_configuration(9)
and that's the whole page, bestie, you ate that π mwah π
this little love letter lives in ./drivers/md/dm-vdo, dated October 2026 β see you in the next man page, slay π
β¨
π¦ 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