FROMLIST: 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. Signed-off-by:Ross Zwisler <zwisler@google.com> Reviewed-by:
Jan Kara <jack@suse.cz> Cc: stable@vger.kernel.org BUG=b:130521177, chromium:959968, b:133470926, b:65528573 TEST=Multiple iteration of dd from /dev/zero to /mnt/stateful_partition, filling the disk. Also, copied multi-GiB files from USB sticks to the Downloads folder via the GUI. I did this on bobba, sarien and samus-kernelnext. (am from https://patchwork.kernel.org/patch/11007131/) Change-Id: If1baeca0eade2ca0bd40f1397e533df43cc2e399 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1669279 Tested-by:
Ross Zwisler <zwisler@google.com> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by:
Sean Paul <seanpaul@chromium.org> Reviewed-by:
Guenter Roeck <groeck@chromium.org> (cherry picked from commit 00bf5d5f6e7df41865d9e761bd32cf7b06fbabf0) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1775619 Reviewed-by:
Zhihong Yu <zhihongyu@chromium.org> Commit-Queue: Zhihong Yu <zhihongyu@chromium.org> Tested-by:
Zhihong Yu <zhihongyu@chromium.org>
Loading
Please sign in to comment