Skip to content

nfs: handle writeback errors correctly

ChenXiaoSong linux-nfs lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v12 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- return more nuanced writeback errors in nfs_file_write().
- return writeback error in close()->flush() without consumed it.
- fix: nfs_file_write() will always call nfs_wb_all() even if there is no new writeback error.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3NFS: return more nuanced writeback errors in nfs_file_write()fs/nfs/file.c fs/nfs/write.c+4 -40 replies
2/3NFS: nfs{,4}_file_flush() return correct writeback errorsfs/nfs/file.c fs/nfs/nfs4file.c+8 -80 replies
3/3Revert "nfs: nfs_file_write() should check for writeback errors"fs/nfs/file.c+3 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH -next,v2 0/3] nfs: handle writeback errors correctly

v1:
cover letter: (nfs: check writeback errors correctly)

v2:
- return more nuanced writeback errors in nfs_file_write().
- return writeback error in close()->flush() without consumed it.
- fix: nfs_file_write() will always call nfs_wb_all() even if there is no new writeback error.

ChenXiaoSong (3):
NFS: return more nuanced writeback errors in nfs_file_write()
NFS: nfs{,4}_file_flush() return correct writeback errors Revert "nfs: nfs_file_write() should check for writeback errors"

 fs/nfs/file.c     | 23 ++++++++++-------------
 fs/nfs/nfs4file.c |  8 ++++----
 fs/nfs/write.c    |  5 +----
 3 files changed, 15 insertions(+), 21 deletions(-)
Signature · 1 line
2.31.1