Skip to content

ceph: make kcephfs use errseq_t for writeback error reporting

Jeff Layton ceph-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ceph: use errseq_t for writeback error reportingfs/ceph/caps.c+1 -11 reply
2/2ceph: pagecache writeback fault injection switchfs/ceph/addr.c fs/ceph/debugfs.c fs/ceph/super.h+16 -12 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchYan, Zheng
1/2R-b
2/2

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

Read the v1 thread

Cover letter [PATCH 0/2] ceph: make kcephfs use errseq_t for writeback error reporting

From: Jeff Layton <[email protected]>

A couple of small patches to make cephfs use errseq_t for reporting writeback errors. This ensures that when a writeback error occurs that it is reported to all file descriptions that were open at the time. The first patch is what fixes the error reporting.

The second patch (which should probably be considered an RFC) adds a new fault injection switch for cephfs that makes it throw writeback errors even when the writes succeed. I have an xfstest that uses this to help test error handling behavior in cephfs.

Jeff Layton (2):
ceph: use errseq_t for writeback error reporting
ceph: pagecache writeback fault injection switch

 fs/ceph/addr.c    | 7 +++++++
 fs/ceph/caps.c    | 2 +-
 fs/ceph/debugfs.c | 8 +++++++-
 fs/ceph/super.h   | 2 ++
 4 files changed, 17 insertions(+), 2 deletions(-)
Signature · 1 line
2.13.3