filemap_fdatawait_range_keep_errors — wait for writeback to complete
int filemap_fdatawait_range_keep_errors ( | struct address_space * mapping, |
| loff_t start_byte, | |
loff_t end_byte); |
mappingaddress space structure to wait for
start_byteoffset in bytes where the range starts
end_byteoffset in bytes where the range ends (inclusive)
Walk the list of under-writeback pages of the given address space in the
given range and wait for all of them. Unlike filemap_fdatawait_range,
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)