start_unlocking(9)
π start_unlocking(9) β from the Kernel API Manual π
okay bestie, welcome to the group chat for start_unlocking β a whole function page straight outta the Kernel API Manual and honestly it's giving "tiny function, huge lore" β¨
πΈ NAME πΈ
start_unlocking β releases a read lock on the PBN of the block that may or may not have contained duplicate data ππ
no cap, "may or may not have" is doing SO much heavy lifting there but that's literally what it does, so we're keeping it fr fr.
β¨ SYNOPSIS β¨
void start_unlocking (struct hash_lock *lock , struct data_vio *agent );
that's it. that's the whole signature. void, so it doesn't hand anything back β it just does the thing and leaves π
π¦ ARGUMENTS π¦
lockβ the hash lock, aka the main character of this whole situation πagentβ thedata_viothat's currently acting as the agent for the lock π«Ά (yes, they get a whole title, we love a designated representative)
π₯ SEE ALSO π₯
buckle up bestie, the friend group is HUGE β these are all in Kernel file ./drivers/md/dm-vdo/dedupe.c and they're all (9) section pages so you know they're serious:
Introduction(9)return_hash_lock_to_pool(9)vdo_get_duplicate_lock(9)hash_lock_key(9)get_hash_lock_state_name(9)assert_hash_lock_agent(9)set_duplicate_lock(9)dequeue_lock_waiter(9)set_hash_lock(9)exit_hash_lock(9)set_duplicate_location(9)retire_lock_agent(9)wait_on_hash_lock(9)abort_waiter(9)start_bypassing(9)finish_unlocking(9)unlock_duplicate_pbn(9)finish_updating(9)start_updating(9)finish_deduping(9)acquire_lock(9)enter_forked_lock(9)fork_hash_lock(9)launch_dedupe(9)start_deduping(9)increment_stat(9)finish_verifying(9)start_verifying(9)finish_locking(9)lock_duplicate_pbn(9)start_locking(9)finish_writing(9)select_writing_agent(9)start_writing(9)finish_querying(9)start_querying(9)report_bogus_lock_state(9)vdo_continue_hash_lock(9)is_hash_collision(9)vdo_acquire_hash_lock(9)vdo_release_hash_lock(9)transfer_allocation_lock(9)vdo_share_compressed_write_lock(9)report_dedupe_timeouts(9)finish_index_operation(9)check_for_drain_complete(9)vdo_make_hash_zones(9)vdo_free_hash_zones(9)suspend_index(9)resume_index(9)vdo_resume_hash_zones(9)get_hash_zone_statistics(9)vdo_get_dedupe_statistics(9)vdo_select_hash_zone(9)dump_hash_lock(9)dump_hash_zone(9)vdo_dump_hash_zones(9)acquire_context(9)
like I said. HUGE. the way this one little unlock function is connected to literally everyone π iykyk.
mwah π that's the whole page! this one lives at ./drivers/md/dm-vdo and it's dated October 2026, page name start_unlocking(9) β go forth and unlock those PBNs responsibly, 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