disk_clear_events(9)

disk_clear_events9

Synchronously check, clear and return pending events

Usage

unsigned int disk_clear_events(struct gendisk * disk, unsigned int mask);

Arguments

disk

disk to fetch and clear events from

mask

mask of events to be fetched and cleared

Overview

Disk events are synchronously checked and pending events in mask are cleared and returned. This ignores the block count.

Context

Might sleep.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.