---
name: "disk_flush_events"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/disk_flush_events"
---

# disk\_flush\_events(9)

schedule immediate event checking and flushing

## NAME

disk\_flush\_events - schedule immediate event checking and flushing

## SYNOPSIS

**void disk\_flush\_events(struct gendisk \*** *disk***, unsigned int** *mask***);**

## ARGUMENTS

*disk*

disk to check and flush events for

*mask*

events to flush

## DESCRIPTION

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.

## CONTEXT

If *mask* is non-zero must be called with bdev-\>bd\_mutex held.

## COPYRIGHT
