[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1441791227.21027037.1508226056893.JavaMail.zimbra@redhat.com>
Date: Tue, 17 Oct 2017 03:40:56 -0400 (EDT)
From: Pankaj Gupta <pagupta@...hat.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: kwolf@...hat.com, haozhong zhang <haozhong.zhang@...el.com>,
jack@...e.cz, xiaoguangrong eric <xiaoguangrong.eric@...il.com>,
kvm@...r.kernel.org, david@...hat.com, linux-nvdimm@...1.01.org,
ross zwisler <ross.zwisler@...el.com>,
linux-kernel@...r.kernel.org, qemu-devel@...gnu.org,
linux-mm@...ck.org, stefanha@...hat.com, pbonzini@...hat.com,
dan j williams <dan.j.williams@...el.com>, nilal@...hat.com
Subject: Re: [Qemu-devel] [RFC 2/2] KVM: add virtio-pmem driver
>
> I think this driver is at entirely the wrong level.
>
> If you want to expose pmem to a guest with flushing assist do it
> as pmem, and not a block driver.
Are you saying do it as existing i.e ACPI pmem like interface?
The reason we have created this new driver is exiting pmem driver
does not define proper semantics for guest flushing requests.
Regarding block support of driver, we want to achieve DAX support
to bypass guest page cache. Also, we want to utilize existing DAX
capable file-system interfaces(e.g fsync) from userspace file API's
to trigger the host side flush request.
Below link has details of previous discussion:
https://marc.info/?l=kvm&m=150091133700361&w=2
Thanks,
Pankaj
Powered by blists - more mailing lists