diff options
| author | Dan Williams <[email protected]> | 2017-01-27 04:37:35 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2017-04-20 18:57:52 +0000 |
| commit | b0686260fecaa924d8eff2ace94bee70506bc308 (patch) | |
| tree | 36193b32e9f64ee93c4dd02e29da9256e8930fb7 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | block: kill bdev_dax_capable() (diff) | |
| download | kernel-b0686260fecaa924d8eff2ace94bee70506bc308.tar.gz kernel-b0686260fecaa924d8eff2ace94bee70506bc308.zip | |
dax: introduce dax_direct_access()
Replace bdev_direct_access() with dax_direct_access() that uses
dax_device and dax_operations instead of a block_device and
block_device_operations for dax. Once all consumers of the old api have
been converted bdev_direct_access() will be deleted.
Given that block device partitioning decisions can cause dax page
alignment constraints to be violated this also introduces the
bdev_dax_pgoff() helper. It handles calculating a logical pgoff relative
to the dax_device and also checks for page alignment.
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
