filemap_fdatawait_keep_errors — wait for writeback without clearing errors
int filemap_fdatawait_keep_errors ( | struct address_space * mapping) ; |
Walk the list of under-writeback pages of the given address space
and wait for all of them. Unlike filemap_fdatawait
, this function
does not clear error status of the address space.
Use this function if callers don't handle errors themselves. Expected call sites are system-wide / filesystem-wide data flushers: e.g. sync(2), fsfreeze(8)