From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754846AbeDTMxn (ORCPT ); Fri, 20 Apr 2018 08:53:43 -0400 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:1774 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754591AbeDTMxl (ORCPT ); Fri, 20 Apr 2018 08:53:41 -0400 X-IronPort-AV: E=Sophos;i="5.49,301,1520899200"; d="scan'208";a="340670278" Subject: Re: [PATCH 3/3] xen blkback: add fault injection facility To: Juergen Gross CC: , , , , , , , , , , , , , , , , , , , , , , References: <20180420104603.17823.31095.stgit@dev-dsk-staskins-1a-ca5afbf2.eu-west-1.amazon.com> <20180420104736.17823.42983.stgit@dev-dsk-staskins-1a-ca5afbf2.eu-west-1.amazon.com> From: Message-ID: <403573a8-daeb-2e0e-fa31-e9bd160557fc@amazon.com> Date: Fri, 20 Apr 2018 14:53:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset="utf-8"; format="flowed" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id w3KCrpd4024337 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 >> CC: Jens Axboe >> CC: Konrad Rzeszutek Wilk >> CC: "Roger Pau Monné" >> CC: linux-kernel@vger.kernel.org >> CC: linux-block@vger.kernel.org >> CC: xen-devel@lists.xenproject.org >> CC: Stanislav Kinsburskii >> CC: David Woodhouse > 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