bd_abort_claiming(9)
π
bd_abort_claiming(9) β Kernel API Manual β¨
okay bestie, welcome to the bd_abort_claiming(9) glow-up π this is the kernel API manual entry, and it's literally about aborting claiming of a block device. no cap.
πΈ NAME πΈ
bd_abort_claiming β abort claiming of a block device π
β¨ SYNOPSIS β¨
void bd_abort_claiming (struct block_device *bdev , void *holder );
π ARGUMENTS π
bdevβ block device of interest π¦holderβ holder that has claimedbdevπ«Ά
π¦ DESCRIPTION π¦
so picture this: exclusive open failed, and now you need to abort claiming of a block device. that's the main-character move here. π
it can also be used when exclusive open is not actually desired and we just needed to block other exclusive openers for a while. iykyk β sometimes you're not trying to open exclusively, you just need to keep those other exclusive openers on pause for a bit. β¨
π SEE ALSO π
kernel file ./block/bdev.c is in the mix, plus these iconic little references:
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_finish_claiming(9)bdev_open(9)bdev_yield_claim(9)bdev_fput(9)lookup_bdev(9)bdev_mark_dead(9)
that's the whole page, bestie π«Ά β source/version: ./block, dated October 2026. periodt. π
π
π¦ 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