Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1695811

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

From Jeff Layton <jlayton@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 0/2] ceph: make kcephfs use errseq_t for writeback error reporting
Date 2017-07-25 17:00 +0200
Message-ID <u79tv-45h-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Jeff Layton <jlayton@redhat.com>

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(-)

-- 
2.13.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] ceph: make kcephfs use errseq_t for writeback error reporting Jeff Layton <jlayton@kernel.org> - 2017-07-25 17:00 +0200
  [PATCH 2/2] ceph: pagecache writeback fault injection switch Jeff Layton <jlayton@kernel.org> - 2017-07-25 17:00 +0200
    Re: [PATCH 2/2] ceph: pagecache writeback fault injection switch "Yan, Zheng" <ukernel@gmail.com> - 2017-07-26 15:10 +0200
      Re: [PATCH 2/2] ceph: pagecache writeback fault injection switch Jeff Layton <jlayton@redhat.com> - 2017-07-31 14:20 +0200

csiph-web