Re: [RFC v3 1/2] libnvdimm: Add flush callback for virtio pmem

2018-07-16 Thread Pankaj Gupta
Hi Luiz, > > > This patch adds functionality to perform flush from guest to host > > over VIRTIO. We are registering a callback based on 'nd_region' type. > > As virtio_pmem driver requires this special flush interface, for rest > > of the region types we are registering existing flush function

Re: [RFC v3 1/2] libnvdimm: Add flush callback for virtio pmem

2018-07-13 Thread Luiz Capitulino
On Fri, 13 Jul 2018 13:22:30 +0530 Pankaj Gupta wrote: > This patch adds functionality to perform flush from guest to host > over VIRTIO. We are registering a callback based on 'nd_region' type. > As virtio_pmem driver requires this special flush interface, for rest > of the region types we are r

[RFC v3 1/2] libnvdimm: Add flush callback for virtio pmem

2018-07-13 Thread Pankaj Gupta
This patch adds functionality to perform flush from guest to host over VIRTIO. We are registering a callback based on 'nd_region' type. As virtio_pmem driver requires this special flush interface, for rest of the region types we are registering existing flush function. Also report the error returne