All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Williams <dan.j.williams@intel.com>
To: Dave Jiang <dave.jiang@intel.com>
Cc: "linux-nvdimm@lists.01.org" <linux-nvdimm@lists.01.org>
Subject: Re: [PATCH v5 1/2] ndctl: add foreach helper for region badblocks in libndctl
Date: Thu, 11 May 2017 10:50:54 -0700	[thread overview]
Message-ID: <CAPcyv4ipBob2T4wS5PKuiWX2=gAtZJB0MhykmuR+Qkryan4wfA@mail.gmail.com> (raw)
In-Reply-To: <149452421176.25868.9410889126303443053.stgit@djiang5-desk3.ch.intel.com>

On Thu, May 11, 2017 at 10:37 AM, Dave Jiang <dave.jiang@intel.com> wrote:
> The helper function allow iteration through the badblocks file that's part
> of the region sysfs attributes. This will support the region list badblocks
> code that's coming.
>
> Signed-off-by: Dave Jiang <dave.jiang@intel.com>
> ---
>
> v2: added cleanup of opened badblocks file, from Dan's comments.
> v3: fixed inconsistent return code, from Andy Rudoff's comments.
> v4: removed unnecessary code comment, from Vishal's comments.
> v5: no change.

Thanks Dave, applied.
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

      parent reply	other threads:[~2017-05-11 17:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-11 17:37 [PATCH v5 1/2] ndctl: add foreach helper for region badblocks in libndctl Dave Jiang
2017-05-11 17:37 ` [PATCH v5 2/2] ndctl: add list --media-errors support Dave Jiang
2017-05-11 17:48   ` Kani, Toshimitsu
2017-05-11 17:52     ` Dave Jiang
2017-05-11 18:01       ` Verma, Vishal L
2017-05-11 17:50 ` Dan Williams [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='CAPcyv4ipBob2T4wS5PKuiWX2=gAtZJB0MhykmuR+Qkryan4wfA@mail.gmail.com' \
    --to=dan.j.williams@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=linux-nvdimm@lists.01.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.