diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-11-17 16:23:08 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-12-04 10:19:20 -0800 |
commit | cdd77d3e193031cc67426cd671d8aa370f7dfee4 (patch) | |
tree | 593f495eb83145d25e848a4a5c88bfb6f5509440 /lib/jedec_ddr_data.c | |
parent | ae64f9bd1d3621b5e60d7363bc20afb46aede215 (diff) |
nfit, libnvdimm: deprecate the generic SMART ioctl
The kernel's ND_IOCTL_SMART_THRESHOLD command is based on a payload
definition that has become broken / out-of-sync with recent versions of
the NVDIMM_FAMILY_INTEL definition. Deprecate the use of the
ND_IOCTL_SMART_THRESHOLD command in favor of the ND_CMD_CALL approach
taken by NVDIMM_FAMILY_{HPE,MSFT}, where we can manage the per-vendor
variance in userspace.
In a couple years, when the new scheme is widely deployed in userspace
packages, the ND_IOCTL_SMART_THRESHOLD support can be removed. For now
we prevent new binaries from compiling against the kernel header
definitions, but kernel still compatible with old binaries. The
libndctl.h [1] header is now the authoritative interface definition for
NVDIMM SMART.
[1]: https://github.com/pmem/ndctl
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'lib/jedec_ddr_data.c')
0 files changed, 0 insertions, 0 deletions