diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-05-29 21:57:56 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-06-09 18:22:21 +0200 |
commit | 7e026c8c0a4200da86bc51edeaad79dcdccf78ca (patch) | |
tree | b1e30796161a6b1696ce75c2098d2fb980cb6a44 /drivers/gpio/gpiolib-of.c | |
parent | x86, uaccess: introduce copy_from_iter_flushcache for pmem / cache-bypass ope... (diff) | |
download | linux-7e026c8c0a4200da86bc51edeaad79dcdccf78ca.tar.xz linux-7e026c8c0a4200da86bc51edeaad79dcdccf78ca.zip |
dm: add ->copy_from_iter() dax operation support
Allow device-mapper to route copy_from_iter operations to the
per-target implementation. In order for the device stacking to work we
need a dax_dev and a pgoff relative to that device. This gives each
layer of the stack the information it needs to look up the operation
pointer for the next level.
This conceptually allows for an array of mixed device drivers with
varying copy_from_iter implementations.
Reviewed-by: Toshi Kani <toshi.kani@hpe.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
0 files changed, 0 insertions, 0 deletions