Query: disk_block_events
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DISK_BLOCK_EVENTS(9) Block Devices DISK_BLOCK_EVENTS(9)NAMEdisk_block_events - block and flush disk event checkingSYNOPSISvoid disk_block_events(struct gendisk * disk);ARGUMENTSdisk disk to block events forDESCRIPTIONOn 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.CONTEXTMight sleep.COPYRIGHTKernel Hackers Manual 3.10 June 2014 DISK_BLOCK_EVENTS(9)