History

mm: add filemap_fdatawait_range_keep_errors()

In the spirit of filemap_fdatawait_range() and filemap_fdatawait_keep_errors(), introduce filemap_fdatawait_range_keep_errors() which both takes a range upon which to wait and does not clear errors from the address space.

Ross Zwisler committed 7 years ago

Commit aa0bfcd1 parent c708b1c2 files · +24 −0Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/fs.h+2−0
@@ -2712,6 +2712,8 @@ extern int filemap_flush(struct address_space *); · 2711 unmodified lines
27122712 extern int filemap_fdatawait_keep_errors(struct address_space *mapping);
27132713 extern int filemap_fdatawait_range(struct address_space *, loff_t lstart,
27142714 loff_t lend);
2715+extern int filemap_fdatawait_range_keep_errors(struct address_space *mapping,
2716+ loff_t start_byte, loff_t end_byte);
27152717
27162718 static inline int filemap_fdatawait(struct address_space *mapping)
27172719 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t