All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-next 0/5] Enable Fault Injection for RNBD
@ 2021-04-06  7:37 Gioh Kim
  2021-04-06  7:37 ` [PATCH for-next 1/5] block/rnbd: Enable the fault-injection Gioh Kim
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Gioh Kim @ 2021-04-06  7:37 UTC (permalink / raw)
  To: linux-block, linux-doc
  Cc: axboe, akinobu.mita, corbet, hch, sagi, bvanassche, haris.iqbal,
	jinpu.wang, Gioh Kim

My colleagues and I would like to apply the fault injection
of the Linux to test error handling of RNBD module. RNBD module
consists of client and server modules that are connected via
Infiniband network. So it is important for the client to receive
the error of the server and handle it smoothly.

When debugfs is enabled, RNBD is able to export interfaces
to fail RNBD client and server.
Following fault injection points are enabled:
- fail BIO processing on RNBD server side
- fail IO transferation on RNBD client side
- fail device unmapping on RNBD client side

This patch set is just a starting point. We will enable various
faults and test as many error cases as possible.

Best regards

Gioh Kim (5):
  block/rnbd: Enable the fault-injection
  block/rnbd-srv: Inject a fault at bio processing
  block/rnbd-clt: Inject some fault points
  docs: fault-injection: Add fault-injection manual of RNBD
  docs: Add RTRS/RNBD to the index of fault-injection

 Documentation/fault-injection/index.rst       |   2 +
 .../fault-injection/rnbd-fault-injection.rst  | 208 ++++++++++++++++++
 drivers/block/rnbd/rnbd-clt-sysfs.c           |  53 +++++
 drivers/block/rnbd/rnbd-clt.c                 |  17 ++
 drivers/block/rnbd/rnbd-clt.h                 |  15 ++
 drivers/block/rnbd/rnbd-common.c              |  44 ++++
 drivers/block/rnbd/rnbd-proto.h               |  14 ++
 drivers/block/rnbd/rnbd-srv-sysfs.c           |  37 ++++
 drivers/block/rnbd/rnbd-srv.c                 |   7 +
 drivers/block/rnbd/rnbd-srv.h                 |  13 ++
 10 files changed, 410 insertions(+)
 create mode 100644 Documentation/fault-injection/rnbd-fault-injection.rst

-- 
2.25.1


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

end of thread, other threads:[~2021-04-06  7:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06  7:37 [PATCH for-next 0/5] Enable Fault Injection for RNBD Gioh Kim
2021-04-06  7:37 ` [PATCH for-next 1/5] block/rnbd: Enable the fault-injection Gioh Kim
2021-04-06  7:37 ` [PATCH for-next 2/5] block/rnbd-srv: Inject a fault at bio processing Gioh Kim
2021-04-06  7:37 ` [PATCH for-next 3/5] block/rnbd-clt: Inject some fault points Gioh Kim
2021-04-06  7:37 ` [PATCH for-next 4/5] docs: fault-injection: Add fault-injection manual of RNBD Gioh Kim
2021-04-06  7:37 ` [PATCH for-next 5/5] docs: Add RTRS/RNBD to the index of fault-injection Gioh Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.