All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/3] ndctl: add error clearing support for dev dax
@ 2017-05-04 21:48 Dave Jiang
  2017-05-04 21:49 ` [PATCH v6 1/3] ndctl: add clear-error to ndctl for device dax Dave Jiang
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Dave Jiang @ 2017-05-04 21:48 UTC (permalink / raw)
  To: dan.j.williams; +Cc: linux-nvdimm

The following series implements support for error clearing and error
listing for device dax through ndctl.

---

v2: Addressed comments from Vishal
- added bounds checking for the badblocks region.
- updated verbiage to use badblocks instead of poison.
- set default len to 1.
- fixed error out for stat
- fixed error out that was copy/paste error
- remove duplicate check_min_kver() in shell script
- fixed logic of checking empty badblocks

v3: Addressed comments from Toshi
- Fixed bad region path for badblocks

v4: Address comments from Toshi
- Added error output for length that exceeds badblock coverage.

v5: Address comments from Toshi
- Made -l 0 to error out and no length means 1 block cleared.

v6: Address comments from Dan
- Fixed clear-error to be based off of device instead of region.
- Added list-errors command to ndctl

Dave Jiang (3):
      ndctl: add clear-error to ndctl for device dax
      ndctl: add list-errors support
      ndctl: add test for clear-error


 Documentation/ndctl-clear-error.txt |   38 ++++
 Documentation/ndctl-list-errors.txt |   26 +++
 builtin.h                           |    2 
 ndctl/Makefile.am                   |    1 
 ndctl/clear-error.c                 |  352 +++++++++++++++++++++++++++++++++++
 ndctl/lib/libndctl.c                |   72 +++++++
 ndctl/lib/libndctl.sym              |    2 
 ndctl/libndctl.h.in                 |  10 +
 ndctl/ndctl.c                       |   2 +
 test/Makefile.am                    |   1 +
 test/ndctl-clear-error-dax.sh       |  66 +++++++
  11 files changed, 572 insertions(+)
 create mode 100644 Documentation/ndctl-clear-error.txt
 create mode 100644 Documentation/ndctl-list-errors.txt
 create mode 100644 ndctl/clear-error.c
 create mode 100755 test/ndctl-clear-error-dax.sh
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-05-05 20:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-04 21:48 [PATCH v6 0/3] ndctl: add error clearing support for dev dax Dave Jiang
2017-05-04 21:49 ` [PATCH v6 1/3] ndctl: add clear-error to ndctl for device dax Dave Jiang
2017-05-05 19:14   ` Dan Williams
2017-05-05 19:33     ` Dan Williams
2017-05-05 19:41     ` Linda Knippers
2017-05-05 20:01       ` Dan Williams
2017-05-05 20:23         ` Linda Knippers
2017-05-04 21:49 ` [PATCH v6 2/3] ndctl: add list-errors support Dave Jiang
2017-05-05 17:07   ` Kani, Toshimitsu
2017-05-05 17:14     ` Dave Jiang
2017-05-05 17:21       ` Kani, Toshimitsu
2017-05-05 17:27         ` Dave Jiang
2017-05-05 17:35           ` Kani, Toshimitsu
2017-05-05 17:49             ` Kani, Toshimitsu
2017-05-04 21:49 ` [PATCH v6 3/3] ndctl: add test for clear-error Dave Jiang

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.