diff options
author | 2020-02-28 11:34:51 -0500 | |
---|---|---|
committer | 2020-04-02 19:15:03 -0700 | |
commit | 5d64efe79703c4de1f017af9f7643ead1dc85432 (patch) | |
tree | 27967fe80aadd9a426b384eb6d72f75538aed2ec /include/linux | |
parent | libnvdimm: Update persistence domain value for of_pmem and papr_scm device (diff) | |
download | wireguard-linux-5d64efe79703c4de1f017af9f7643ead1dc85432.tar.xz wireguard-linux-5d64efe79703c4de1f017af9f7643ead1dc85432.zip |
pmem: Add functions for reading/writing page to/from pmem
This splits pmem_do_bvec() into pmem_do_read() and pmem_do_write().
pmem_do_write() will be used by pmem zero_page_range() as well. Hence
sharing the same code.
Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Link: https://lore.kernel.org/r/20200228163456.1587-2-vgoyal@redhat.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions