|FILEMAP_FDATAWAIT_RA(9)||Memory Management in Linux||FILEMAP_FDATAWAIT_RA(9)|
filemap_fdatawait_range - wait for writeback to complete
int filemap_fdatawait_range(struct address_space * mapping, loff_t start_byte, loff_t end_byte);
Walk the list of under-writeback pages of the given address space in the given range 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.
|January 2017||Kernel Hackers Manual 4.8.|