other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
DISK_BLOCK_EVENTS(9) | Block Devices | DISK_BLOCK_EVENTS(9) |
NAME¶
disk_block_events - block and flush disk event checkingSYNOPSIS¶
void
disk_block_events(struct gendisk * disk);
ARGUMENTS¶
diskdisk to block events for
DESCRIPTION¶
On return from this function, it is guaranteed that event checking isn't in progress and won't happen until unblocked by disk_unblock_events. Events blocking is counted and the actual unblocking happens after the matching number of unblocks are done. Note that this intentionally does not block event checking from disk_clear_events.CONTEXT¶
Might sleep.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |