diff options
| author | Pankaj Gupta <[email protected]> | 2019-07-05 14:03:26 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2019-07-05 22:19:10 +0000 |
| commit | 32de1484648a837db5dea0a7007fe7136804e392 (patch) | |
| tree | 268cebd1e247ac532948188ceab4bed7c903b18c /drivers/pci/controller/pci-host-common.c | |
| parent | dm: enable synchronous dax (diff) | |
| download | kernel-32de1484648a837db5dea0a7007fe7136804e392.tar.gz kernel-32de1484648a837db5dea0a7007fe7136804e392.zip | |
dax: check synchronous mapping is supported
This patch introduces 'daxdev_mapping_supported' helper
which checks if 'MAP_SYNC' is supported with filesystem
mapping. It also checks if corresponding dax_device is
synchronous. Virtio pmem device is asynchronous and
does not not support VM_SYNC.
Suggested-by: Jan Kara <[email protected]>
Signed-off-by: Pankaj Gupta <[email protected]>
Reviewed-by: Jan Kara <[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
