Name
filemap_fdatawait_range —
wait for all under-writeback pages to complete in a given range
Synopsis
int filemap_fdatawait_range ( | struct address_space * mapping, |
| loff_t start, |
| loff_t end) ; |
Arguments
mapping
address space structure to wait for
start
offset in bytes where the range starts
end
offset in bytes where the range ends (inclusive)
Description
Walk the list of under-writeback pages of the given address space
in the given range and wait for all of them.
This is just a simple wrapper so that callers don't have to convert offsets
to page indexes themselves