From: Dave Jiang <dave.jiang@intel.com>
To: Vishal Verma <vishal.l.verma@intel.com>, linux-nvdimm@lists.01.org
Subject: Re: [ndctl PATCH 0/4] Error injection reworks
Date: Tue, 1 May 2018 12:54:23 -0700 [thread overview]
Message-ID: <2c5f0aea-97ed-be1d-eae2-a7a6ca5b7feb@intel.com> (raw)
In-Reply-To: <20180501180023.30193-1-vishal.l.verma@intel.com>
On 5/1/2018 11:00 AM, Vishal Verma wrote:
> Updates to the error injection facilities in libndctl and ndctl that:
> 1. Inject fewer bytes per injected block:
> It is sufficient to inject even a single byte (cache line) for Linux
> to mark the entire block as a badblock. Reduce the number of injected
> bytes per block to the unit reported by clear_err_unit
>
> 2. Provide a --saturate option:
> If the old behavior of injecting the whole block for every block is
> desired, provide a --saturate option to get that.
>
>
> Vishal Verma (4):
> libndctl, ars: add an API to retrieve clear_err_unit
> libndctl, inject: inject fewer bytes per block by default
> libndctl, inject: add 'v2' APIs for inject and uninject
> ndctl, inject-error: add a --saturate option
>
> Documentation/ndctl/ndctl-inject-error.txt | 14 ++
> ndctl/inject-error.c | 40 +++---
> ndctl/lib/ars.c | 15 +++
> ndctl/lib/inject.c | 201 ++++++++++++++++++++++-------
> ndctl/lib/libndctl.sym | 7 +
> ndctl/libndctl.h | 11 ++
> 6 files changed, 222 insertions(+), 66 deletions(-)
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm
prev parent reply other threads:[~2018-05-01 19:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-01 18:00 [ndctl PATCH 0/4] Error injection reworks Vishal Verma
2018-05-01 18:00 ` [ndctl PATCH 1/4] libndctl, ars: add an API to retrieve clear_err_unit Vishal Verma
2018-05-01 18:00 ` [ndctl PATCH 2/4] libndctl, inject: inject fewer bytes per block by default Vishal Verma
2018-05-01 18:00 ` [ndctl PATCH 3/4] libndctl, inject: add 'v2' APIs for inject and uninject Vishal Verma
2018-05-01 18:00 ` [ndctl PATCH 4/4] ndctl, inject-error: add a --saturate option Vishal Verma
2018-05-01 19:54 ` Dave Jiang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2c5f0aea-97ed-be1d-eae2-a7a6ca5b7feb@intel.com \
--to=dave.jiang@intel.com \
--cc=linux-nvdimm@lists.01.org \
--cc=vishal.l.verma@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox