1FILEMAP_FDATAWAIT_RA(9) Memory Management in Linux FILEMAP_FDATAWAIT_RA(9)
2
3
4
6 filemap_fdatawait_range - wait for all under-writeback pages to
7 complete in a given range
8
10 int filemap_fdatawait_range(struct address_space * mapping,
11 loff_t start, loff_t end);
12
14 mapping
15 address space structure to wait for
16
17 start
18 offset in bytes where the range starts
19
20 end
21 offset in bytes where the range ends (inclusive)
22
24 Walk the list of under-writeback pages of the given address space in
25 the given range and wait for all of them.
26
27 This is just a simple wrapper so that callers donĀ“t have to convert
28 offsets to page indexes themselves
29
31Kernel Hackers Manual 2.6. June 2019 FILEMAP_FDATAWAIT_RA(9)