]> asedeno.scripts.mit.edu Git - linux.git/commit
dax: Introduce a ->copy_to_iter dax operation
authorDan Williams <dan.j.williams@intel.com>
Wed, 2 May 2018 13:46:33 +0000 (06:46 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 23 May 2018 06:18:31 +0000 (23:18 -0700)
commitb3a9a0c36e1f7b9e2e6cf965c2bb973624f2b3b9
tree54f43a8720a29159310b112cf21e7d3a3b5dce85
parent522239b445a2de988edb81672963708a6aaf9046
dax: Introduce a ->copy_to_iter dax operation

Similar to the ->copy_from_iter() operation, a platform may want to
deploy an architecture or device specific routine for handling reads
from a dax_device like /dev/pmemX. On x86 this routine will point to a
machine check safe version of copy_to_iter(). For now, add the plumbing
to device-mapper and the dax core.

Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Mike Snitzer <snitzer@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/super.c
drivers/md/dm-linear.c
drivers/md/dm-log-writes.c
drivers/md/dm-stripe.c
drivers/md/dm.c
drivers/nvdimm/pmem.c
drivers/s390/block/dcssblk.c
fs/dax.c
include/linux/dax.h
include/linux/device-mapper.h