commit | c5d4355d10d414a96ca870b731756b89d068d57a | [log] [tgz] |
---|---|---|
author | Pankaj Gupta <pagupta@redhat.com> | Fri Jul 05 19:33:22 2019 +0530 |
committer | Dan Williams <dan.j.williams@intel.com> | Fri Jul 05 15:19:10 2019 -0700 |
tree | 9796dcbf336da17f018db742bd0f7e33ada85b2c | |
parent | db5d00c93edc0afba1027e51ff3b38dc0e5f7728 [diff] |
libnvdimm: nd_region flush callback support This patch adds functionality to perform flush from guest to host over VIRTIO. We are registering a callback based on 'nd_region' type. virtio_pmem driver requires this special flush function. For rest of the region types we are registering existing flush function. Report error returned by host fsync failure to userspace. Signed-off-by: Pankaj Gupta <pagupta@redhat.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>