1. NAME

disk_block_events - block and flush disk event checking

2. SYNOPSIS

void disk_block_events(struct gendisk *  disk );

3. ARGUMENTS

disk
    disk to block events for

4. DESCRIPTION

On return from this function, it is guaranteed that event checking isnAqt in progress and wonAqt 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.

5. CONTEXT

Might sleep.

6. COPYRIGHT