From: Jeff Layton <jlayton@xxxxxxxxxx> I sent a small patch earlier this week to make sync_file_range use errseq_t reporting. This set respins that patch into a patch that adds a bit more file_* infrastructure, and then patches to make sync_file_range and fsync on gfs2 report writeback errors properly. There's also a small cleanup patch for mm/filemap.c to consolidate the DAX handling checks in the existing infrastructure. Jeff Layton (4): mm: consolidate dax / non-dax checks for writeback mm: add file_fdatawait_range and file_write_and_wait fs: convert sync_file_range to use errseq_t based error-tracking gfs2: convert to errseq_t based writeback error reporting for fsync fs/gfs2/file.c | 6 +++-- fs/sync.c | 4 +-- include/linux/fs.h | 7 +++++- mm/filemap.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++----- 4 files changed, 77 insertions(+), 11 deletions(-) -- 2.13.3