diff options
author | Vishal Verma <vishal.l.verma@intel.com> | 2017-10-30 21:22:23 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-11-02 18:42:30 +0100 |
commit | 5e096ef3b29e6113a7aa6a7dc4871987efa99bcb (patch) | |
tree | ae0840ff84e77da1be37ea46ec81be51a3eb7a83 /tools/perf/builtin-data.c | |
parent | libnvdimm, badrange: remove a WARN for list_empty (diff) | |
download | linux-5e096ef3b29e6113a7aa6a7dc4871987efa99bcb.tar.xz linux-5e096ef3b29e6113a7aa6a7dc4871987efa99bcb.zip |
nfit_test: when clearing poison, also remove badrange entries
The injected badrange entries can only be cleared from the kernel's
accounting by writing to the affected blocks, so when such a write sends
the clear errror DSM to nfit_test, also clear the ranges from
nfit_test's badrange list. This lets an 'ARS Inject error status' DSM to
return the correct status, omitting the cleared ranges.
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/builtin-data.c')
0 files changed, 0 insertions, 0 deletions