tools/testing/nvdimm: smart alarm/threshold control
authorDan Williams <dan.j.williams@intel.com>
Fri, 24 Nov 2017 22:32:27 +0000 (14:32 -0800)
committerDan Williams <dan.j.williams@intel.com>
Mon, 4 Dec 2017 18:19:31 +0000 (10:19 -0800)
commited07c4338dd5ceadb5ffed0a5be03488ac54f5d2
tree636c810caed24b852f53624c80096f300c195163
parentcdd77d3e193031cc67426cd671d8aa370f7dfee4
tools/testing/nvdimm: smart alarm/threshold control

Allow the smart_threshold values to be changed via the 'set smart
threshold command' and trigger notifications when the thresholds are
met.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/nvdimm/test/nfit.c
tools/testing/nvdimm/test/nfit_test.h