Re: [PATCH v2] libnvdimm, test: add mock SMART data payload
From: Johannes Thumshirn
Date: Fri Apr 08 2016 - 03:27:55 EST
On Thursday, 7. April 2016 15:32:04 CEST Dan Williams wrote:
> Provide simulated SMART data to enable the ndctl implementation of SMART
> data retrieval and parsing.
>
> The payload is defined here, "Section 4.1 SMART and Health Info
> (Function Index 1)":
>
> http://pmem.io/documents/NVDIMM_DSM_Interface_Example.pdf
>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
> ---
> Changes in v2:
> * #define the ND_SMART_ flags definitions (jth)
> * add a struct nd_smart_threshold_payload definition
> * add a mock implementation of smart threshold data
Thanks,
Reviewed-by: Johannes Thumshirn <jthumshirn@xxxxxxx>
--
Johannes Thumshirn Storage
jthumshirn@xxxxxxx +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850