bd_finish_claiming(9)
bd_finish_claiming(9) π
okay so this is the bd_finish_claiming(9) page from the Kernel API Manual β yes bestie, the manual name is literally Kernel API Manual, and we're folding it in right here at the top. This whole page is about finishing the claiming of a block device. Slay.
π NAME π
bd_finish_claiming β finish claiming of a block device. Periodt.
β¨ SYNOPSIS β¨
void bd_finish_claiming (struct block_device *bdev , void *holder ,
const struct blk_holder_ops *hops );
π«Ά ARGUMENTS π«Ά
bdevβ block device of interest. The device we're obsessed with.holderβ holder that has claimedbdev. The claimant, the main character of this claim.hopsβ block device holder operations. The ops vibe.
π DESCRIPTION π
Finish exclusive open of a block device. Mark the device as exlusively open by the holder (yes, that spelling is in the source β don't come for me, I'm just the messenger π) and wake up all waiters for exclusive open to finish. That's it, that's the whole glow-up: exclusive open gets finished, the holder gets the mark, and the waiters get woken. β¨
π SEE ALSO π
- Kernel file
./block/bdev.c bdev_validate_blocksize(9)bdev_freeze(9)bdev_thaw(9)bdev_deny_freeze(9)bdev_allow_freeze(9)bd_may_claim(9)bd_prepare_to_claim(9)bd_abort_claiming(9)bdev_open(9)bdev_yield_claim(9)bdev_fput(9)lookup_bdev(9)bdev_mark_dead(9)
source/version: ./block Β· date: October 2026 Β· footer page: bd_finish_claiming(9) β bye bestie, go wake those waiters ππ¦
π¦ 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