On Tue, Nov 01, 2022 at 05:34:13PM +0800, changfengnan wrote: > use filemap_fdatawait_range_keep_errors to instead of > filemap_fdatawait_keep_errors, no functional change. I'd rather see a patch which turned filemap_fdatawait_keep_errors() into static int filemap_fdatawait_keep_errors(struct address_space *mapping) { return filemap_fdatawait_range_keep_errors(mapping, 0, LLONG_MAX); } then the callers get the nice interface they want.