filemap_fdatawait (9) - Linux Manuals

filemap_fdatawait: wait for all under-writeback pages to complete

NAME

filemap_fdatawait - wait for all under-writeback pages to complete

SYNOPSIS

int filemap_fdatawait(struct address_space mapping);

ARGUMENTS

mapping

address space structure to wait for

DESCRIPTION

Walk the list of under-writeback pages of the given address space and wait for all of them. Check error status of the address space and return it.

Since the error status of the address space is cleared by this function, callers are responsible for checking the return value and handling and/or reporting the error.

COPYRIGHT