diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-06-27 13:06:22 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-06-27 16:44:27 -0700 |
commit | 5d61e43b3975c0582003329d9de9d5e85abf5d33 (patch) | |
tree | 259546b1a8fd2b8cf50d40698edfaeebdb241e00 /include/linux/dax.h | |
parent | c9e582aa689f5418ca30e1e7a975039772c3a757 (diff) |
dax: remove default copy_from_iter fallback
Require all dax-drivers to register a ->copy_from_iter() operation so
that it is clear which dax_operations are optional and which must be
implemented for filesystem-dax to operate.
Cc: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/dax.h')
-rw-r--r-- | include/linux/dax.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dax.h b/include/linux/dax.h index 1f6b6072af64..73fca1bebaf3 100644 --- a/include/linux/dax.h +++ b/include/linux/dax.h @@ -16,7 +16,7 @@ struct dax_operations { */ long (*direct_access)(struct dax_device *, pgoff_t, long, void **, pfn_t *); - /* copy_from_iter: dax-driver override for default copy_from_iter */ + /* copy_from_iter: required operation for fs-dax direct-i/o */ size_t (*copy_from_iter)(struct dax_device *, pgoff_t, void *, size_t, struct iov_iter *); /* flush: optional driver-specific cache management after writes */ |