public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ceph: make kcephfs use errseq_t for writeback error reporting
@ 2017-07-25 14:50 Jeff Layton
  2017-07-25 14:50 ` [PATCH 1/2] ceph: " Jeff Layton
  2017-07-25 14:50 ` [PATCH 2/2] ceph: pagecache writeback fault injection switch Jeff Layton
  0 siblings, 2 replies; 6+ messages in thread
From: Jeff Layton @ 2017-07-25 14:50 UTC (permalink / raw)
  To: Yan, Zheng, Sage Weil, Ilya Dryomov; +Cc: ceph-devel, linux-kernel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-07-31 12:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-25 14:50 [PATCH 0/2] ceph: make kcephfs use errseq_t for writeback error reporting Jeff Layton
2017-07-25 14:50 ` [PATCH 1/2] ceph: " Jeff Layton
2017-07-26 13:09   ` Yan, Zheng
2017-07-25 14:50 ` [PATCH 2/2] ceph: pagecache writeback fault injection switch Jeff Layton
2017-07-26 13:08   ` Yan, Zheng
2017-07-31 12:11     ` Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox