diff options
| author | Pankaj Gupta <[email protected]> | 2019-07-05 14:03:25 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2019-07-05 22:19:10 +0000 |
| commit | 2e9ee0955d3c2d3db56aa02ba6f948ba35d5e9c1 (patch) | |
| tree | e26bac2332a122e668c0b5378bdb440f1443b09a /drivers/pci/controller/pci-host-common.c | |
| parent | libnvdimm: add dax_dev sync flag (diff) | |
| download | kernel-2e9ee0955d3c2d3db56aa02ba6f948ba35d5e9c1.tar.gz kernel-2e9ee0955d3c2d3db56aa02ba6f948ba35d5e9c1.zip | |
dm: enable synchronous dax
This patch sets dax device 'DAXDEV_SYNC' flag if all the target
devices of device mapper support synchrononous DAX. If device
mapper consists of both synchronous and asynchronous dax devices,
we don't set 'DAXDEV_SYNC' flag.
'dm_table_supports_dax' is refactored to pass 'iterate_devices_fn'
as argument so that the callers can pass the appropriate functions.
Suggested-by: Mike Snitzer <[email protected]>
Signed-off-by: Pankaj Gupta <[email protected]>
Reviewed-by: Mike Snitzer <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
