]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/dax/Kconfig
device-dax: Add /sys/class/dax backwards compatibility
authorDan Williams <dan.j.williams@intel.com>
Sun, 16 Jul 2017 20:51:53 +0000 (13:51 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 7 Jan 2019 05:41:57 +0000 (21:41 -0800)
commit730926c3b0998943654019f00296cf8e3b02277e
tree9bdff0b62f4a020427144de5b703048bfb1f7c16
parentd200781ef237a354d918ceff5cee350d88a93d42
device-dax: Add /sys/class/dax backwards compatibility

On the expectation that some environments may not upgrade libdaxctl
(userspace component that depends on the /sys/class/dax hierarchy),
provide a default / legacy dax_pmem_compat driver. The dax_pmem_compat
driver implements the original /sys/class/dax sysfs layout rather than
/sys/bus/dax. When userspace is upgraded it can blacklist this module
and switch to the dax_pmem driver going forward.

CONFIG_DEV_DAX_PMEM_COMPAT and supporting code will be deleted according
to the dax_pmem entry in Documentation/ABI/obsolete/.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
12 files changed:
Documentation/ABI/obsolete/sysfs-class-dax [new file with mode: 0644]
drivers/dax/Kconfig
drivers/dax/Makefile
drivers/dax/bus.c
drivers/dax/bus.h
drivers/dax/device.c
drivers/dax/pmem.c [deleted file]
drivers/dax/pmem/Makefile [new file with mode: 0644]
drivers/dax/pmem/compat.c [new file with mode: 0644]
drivers/dax/pmem/core.c [new file with mode: 0644]
drivers/dax/pmem/pmem.c [new file with mode: 0644]
tools/testing/nvdimm/Kbuild