finish_deduping(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– finish_deduping(9) πŸ’–

okay bestie, this is finish_deduping(9) from the Kernel API Manual, and it’s literally the moment where a data_vio is done deduplicating against the block locked by the hash lock ✨

🌸 NAME 🌸

finish_deduping β€” handle a data_vio that has finished deduplicating against the block locked by the hash lock.

πŸŽ€ SYNOPSIS πŸŽ€

void finish_deduping (struct hash_lock *lock , struct data_vio *data_vio );

πŸ¦‹ ARGUMENTS πŸ¦‹

okay so these are the two things you hand over:

  • lock β€” the hash lock.
  • data_vio β€” the lock holder that has finished deduplicating.

✨ DESCRIPTION ✨

If other data_vios are still sharing the lock, this just releases this data_vio’s share of the lock and finishes processing the data_vio πŸ’…

If this is the last data_vio holding the lock, then this makes the data_vio the lock agent, and it uses that data_vio to advance the state of the lock so the lock can eventually be released πŸ‘‘

🌈 SEE ALSO 🌈


mwah πŸ’‹ that’s the whole page, bestie β€” brought to you from ./drivers/md/dm-vdo, dated October 2026, and signed finish_deduping(9) with love πŸŽ€

πŸ“¦ where this page comes from