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. Juergen