[PATCH for-next 0/5] Enable Fault Injection for RNBD

From
Gioh Kim <hidden>
Date
2021-04-06 07:37:45
Also in
linux-block
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
Thread (6 messages) 6 messages, 1 author, last reply 2021-04-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help