1DISK_BLOCK_EVENTS(9) Block Devices DISK_BLOCK_EVENTS(9)
2
3
4
6 disk_block_events - block and flush disk event checking
7
9 void disk_block_events(struct gendisk * disk);
10
12 disk
13 disk to block events for
14
16 On return from this function, it is guaranteed that event checking
17 isn't in progress and won't happen until unblocked by
18 disk_unblock_events. Events blocking is counted and the actual
19 unblocking happens after the matching number of unblocks are done.
20
21 Note that this intentionally does not block event checking from
22 disk_clear_events.
23
25 Might sleep.
26
28Kernel Hackers Manual 3.10 June 2019 DISK_BLOCK_EVENTS(9)