1FILEMAP_FDATAWAIT_RA(9) Memory Management in Linux FILEMAP_FDATAWAIT_RA(9)
2
3
4
6 filemap_fdatawait_range - wait for writeback to complete
7
9 int filemap_fdatawait_range(struct address_space * mapping,
10 loff_t start_byte, loff_t end_byte);
11
13 mapping
14 address space structure to wait for
15
16 start_byte
17 offset in bytes where the range starts
18
19 end_byte
20 offset in bytes where the range ends (inclusive)
21
23 Walk the list of under-writeback pages of the given address space in
24 the given range and wait for all of them. Check error status of the
25 address space and return it.
26
27 Since the error status of the address space is cleared by this
28 function, callers are responsible for checking the return value and
29 handling and/or reporting the error.
30
32Kernel Hackers Manual 3.10 June 2019 FILEMAP_FDATAWAIT_RA(9)