diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2020-02-28 19:34:51 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2020-04-03 05:15:03 +0300 |
commit | 5d64efe79703c4de1f017af9f7643ead1dc85432 (patch) | |
tree | 27967fe80aadd9a426b384eb6d72f75538aed2ec /drivers/dax | |
parent | 338f6dac8585beaf4d913de8847e430808fb7596 (diff) | |
download | linux-5d64efe79703c4de1f017af9f7643ead1dc85432.tar.xz |
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 'drivers/dax')
0 files changed, 0 insertions, 0 deletions