^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/class/dax/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: May, 2016
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: v4.7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: linux-nvdimm@lists.01.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description: Device DAX is the device-centric analogue of Filesystem
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) DAX (CONFIG_FS_DAX). It allows memory ranges to be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) allocated and mapped without need of an intervening file
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) system. Device DAX is strict, precise and predictable.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Specifically this interface:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 1. Guarantees fault granularity with respect to a given
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) page size (pte, pmd, or pud) set at configuration time.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 2. Enforces deterministic behavior by being strict about
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) what fault scenarios are supported.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) The /sys/class/dax/ interface enumerates all the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) device-dax instances in the system. The ABI is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) deprecated and will be removed after 2020. It is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) replaced with the DAX bus interface /sys/bus/dax/ where
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) device-dax instances can be found under
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) /sys/bus/dax/devices/