inode_dio_wait(9)

inode_dio_wait9

Wait for outstanding dio requests to finish

Usage

void inode_dio_wait(struct inode * inode);

Arguments

inode

inode to wait for

Overview

Waits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation.

Must be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_mutex.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

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