disk_unblock_events(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… disk_unblock_events β€” like, the Kernel API Manual page, bestie πŸŽ€

okay so picture this: you're deep in the kernel, it's giving kernel API manual energy, and you need to stop blocking disk event checking. welcome to disk_unblock_events(9). this is the glow-up page for it. ✨


😌 NAME

disk_unblock_events β€” unblock disk event checking πŸ¦‹

like literally just... unblocking. the un-blocking of the disk events. that's the whole vibe.


✨ SYNOPSIS

void disk_unblock_events (struct gendisk *disk );

no cap, that's it. one function, one argument, returns void (so like, it doesn't hand you anything back β€” it just does the thing). πŸ’…


🌸 ARGUMENTS

  • disk β€” the disk you wanna unblock events for. yeah. that disk. the struct gendisk * one. 🫢

πŸ’– DESCRIPTION

okay so this is literally the undo button for disk_block_events. you blocked 'em, now you're unblocking 'em. character development fr fr. 😭

when the block count reaches zero β€” like, zero zero, the countdown hits the bottom β€” it starts events polling if that's configured. so basically, once nobody's blocking anymore, polling can wake back up and go do its little polling thing. iconic behaviour, honestly. 🌈


πŸ”₯ CONTEXT

"Don't care." β€” the manpage, literally. πŸ’€

it's safe to call from irq context. yes bestie, even there. no stress, no fuss, no "are we allowed to be here" energy. it's giving unbothered. πŸ‘‘


⭐ SEE ALSO

kernel file ./block/disk-events.c, and the whole friend group:

go read those, iykyk. πŸ“š


πŸ’œ little reminder that this page lives at ./block, and it's dated October 2026, and yeah the title is disk_unblock_events(9) β€” we been knew. go forth and unblock those events, bestie. periodt. πŸ§šβ€β™€οΈπŸŽ€
πŸ“¦ where this page comes from