- void disk_flush_events(struct gendisk * disk, unsigned int mask);
- disk to check and flush events for
- events to flush
Schedule immediate event checking on disk if not blocked. Events in mask are scheduled to be cleared from the driver. Note that this doesn't clear the events from disk->ev.
If mask is non-zero must be called with bdev->bd_mutex held.