disk_block_events(9) centos man page | unix.com

Man Page: disk_block_events

Operating Environment: centos

Section: 9

DISK_BLOCK_EVENTS(9)						   Block Devices					      DISK_BLOCK_EVENTS(9)

NAME
disk_block_events - block and flush disk event checking
SYNOPSIS
void disk_block_events(struct gendisk * disk);
ARGUMENTS
disk disk 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
Kernel Hackers Manual 3.10 June 2014 DISK_BLOCK_EVENTS(9)
Related Man Pages
wren(3) - plan9
mbrlabel(8) - netbsd
iosnoop(1m) - osx
i2o_bs(7d) - sunos
bcopy(9f) - sunos
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
Tar Command
CentOS7 restoring file capabilities
Controlling user input