Re: [PATCH 3/3] xen blkback: add fault injection facility

From: staskins
Date: Fri Apr 20 2018 - 08:53:50 EST


On 04/20/18 13:28, Juergen Gross wrote:
On 20/04/18 12:47, Stanislav Kinsburskii wrote:
This patch adds wrapper helpers around generic Xen fault inject
facility.
The major reason is to keep all the module fault injection directories
in a dedicated subdirectory instead of Xen fault inject root.

IOW, when using these helpers, per-device and named by device name
fault injection control directories will appear under the following
directory:
- /sys/kernel/debug/xen/fault_inject/xen-blkback/
instead of:
- /sys/kernel/debug/xen/fault_inject/

Signed-off-by: Stanislav Kinsburskii <staskins@xxxxxxxxxx>
CC: Jens Axboe <axboe@xxxxxxxxx>
CC: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
CC: "Roger Pau MonnÃ" <roger.pau@xxxxxxxxxx>
CC: linux-kernel@xxxxxxxxxxxxxxx
CC: linux-block@xxxxxxxxxxxxxxx
CC: xen-devel@xxxxxxxxxxxxxxxxxxxx
CC: Stanislav Kinsburskii <staskins@xxxxxxxxxx>
CC: David Woodhouse <dwmw@xxxxxxxxxxxx>
This is an exact copy of the netback patch apart from the names.

I don't like adding multiple copies of the same coding to the tree.

Sure, will dedupplicate this.


Juergen


Amazon Development Center Germany GmbH
Berlin - Dresden - Aachen
main office: Krausenstr. 38, 10117 Berlin
Geschaeftsfuehrer: Dr. Ralf Herbrich, Christian Schlaeger
Ust-ID: DE289237879
Eingetragen am Amtsgericht Charlottenburg HRB 149173 B