data_vio_all...e_data_block(9)
πΈ NAME πΈ
data_vio_allocate_data_block β allocate a data block. Okay bestie, this one is straight out of the Kernel API Manual, and itβs giving βsmall function, very important jobβ energy π
β¨
β¨ SYNOPSIS β¨
void data_vio_allocate_data_block (struct data_vio *data_vio , enum
pbn_lock_type write_lock_type , vdo_action_fn callback , vdo_action_fn
error_handler );
π ARGUMENTS π
data_vioβ thedata_vio. Like, the actual one weβre working with here π«Άwrite_lock_typeβ the type of write lock to obtain on the block. So itβs specifying which write-lock situation weβre getting into πcallbackβ the callback which will attempt an allocation in the current zone and continue if it succeeds. Itβs the βtry it in this zone, keep moving if it worksβ callback β¨error_handlerβ the handler for errors while allocating. The βif this goes sideways, call thisβ bestie π
π₯ SEE ALSO π₯
Okay, the whole cross-reference squad is here β donβt skip a single one, bestie:
- Kernel file
./drivers/md/dm-vdo/data-vio.c Bio flags.(9)Introduction(9)check_for_drain_complete_locked(9)pack_status(9)set_data_vio_compression_status(9)cancel_data_vio_compression(9)attempt_logical_block_lock(9)launch_data_vio(9)schedule_releases(9)process_release_callback(9)initialize_data_vio(9)make_data_vio_pool(9)free_data_vio_pool(9)vdo_launch_bio(9)drain_data_vio_pool(9)resume_data_vio_pool(9)dump_data_vio_pool(9)release_allocated_lock(9)release_logical_lock(9)finish_cleanup(9)get_data_vio_operation_name(9)release_data_vio_allocation_lock(9)uncompress_data_vio(9)modify_for_partial_write(9)read_block(9)update_block_map(9)read_old_block_mapping(9)pack_compressed_data(9)compress_data_vio(9)launch_compress_data_vio(9)hash_data_vio(9)write_bio_finished(9)acknowledge_write_callback(9)allocate_block(9)handle_allocation_error(9)continue_data_vio_with_block_map_slot(9)
Thatβs a wrap, bestie! Source/version: ./drivers/md/dm-vdo Β· date: October 2026 Β· page: data_vio_all...e_data_block(9). Go forth and allocate π
β¨π¦
π¦ 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