Skip to content

mm/gfs2: extend file_* API, and convert gfs2 to errseq_t error reporting

Jeff Layton cluster-devel linux-fsdevel linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 22 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mm: consolidate dax / non-dax checks for writebackmm/filemap.c+9 -61 reply
2/4mm: add file_fdatawait_range and file_write_and_waitinclude/linux/fs.h mm/filemap.c+62 -117 replies
3/4fs: convert sync_file_range to use errseq_t based error-trackingfs/sync.c+2 -20 replies
4/4gfs2: convert to errseq_t based writeback error reporting for fsyncfs/gfs2/file.c+4 -26 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchJan Kara
1/4R-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] mm/gfs2: extend file_* API, and convert gfs2 to errseq_t error reporting

From: Jeff Layton <[email protected]>

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(-)
Signature · 1 line
2.13.3