Dan Williams | 730926c | 2017-07-16 13:51:53 -0700 | [diff] [blame] | 1 | What: /sys/class/dax/ |
| 2 | Date: May, 2016 |
| 3 | KernelVersion: v4.7 |
Dan Williams | 3dd4fe4 | 2021-04-21 00:05:28 -0700 | [diff] [blame] | 4 | Contact: nvdimm@lists.linux.dev |
Dan Williams | 730926c | 2017-07-16 13:51:53 -0700 | [diff] [blame] | 5 | Description: Device DAX is the device-centric analogue of Filesystem |
| 6 | DAX (CONFIG_FS_DAX). It allows memory ranges to be |
| 7 | allocated and mapped without need of an intervening file |
| 8 | system. Device DAX is strict, precise and predictable. |
| 9 | Specifically this interface: |
| 10 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 11 | 1. Guarantees fault granularity with respect to a given |
| 12 | page size (pte, pmd, or pud) set at configuration time. |
Dan Williams | 730926c | 2017-07-16 13:51:53 -0700 | [diff] [blame] | 13 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 14 | 2. Enforces deterministic behavior by being strict about |
| 15 | what fault scenarios are supported. |
Dan Williams | 730926c | 2017-07-16 13:51:53 -0700 | [diff] [blame] | 16 | |
| 17 | The /sys/class/dax/ interface enumerates all the |
| 18 | device-dax instances in the system. The ABI is |
| 19 | deprecated and will be removed after 2020. It is |
| 20 | replaced with the DAX bus interface /sys/bus/dax/ where |
| 21 | device-dax instances can be found under |
| 22 | /sys/bus/dax/devices/ |