Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-09-09 Thread Ross Zwisler
On Fri, Sep 09, 2016 at 10:03:27AM -0400, Theodore Ts'o wrote: > On Fri, Sep 09, 2016 at 11:19:25AM +0200, Jan Kara wrote: > > > > > > 1. make the guest kernel based on your tree, the top commit is > > > > > >10d7902fa0e82b (dax: unmap/truncate on device shutdown) and > > > > > >the config

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-09-09 Thread Theodore Ts'o
On Fri, Sep 09, 2016 at 11:19:25AM +0200, Jan Kara wrote: > > > > > 1. make the guest kernel based on your tree, the top commit is > > > > >10d7902fa0e82b (dax: unmap/truncate on device shutdown) and > > > > >the config file can be found in this thread. What git tree is 10d7902fa0e82b from

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-09-09 Thread Jan Kara
On Thu 08-09-16 14:47:08, Ross Zwisler wrote: > On Tue, Sep 06, 2016 at 05:06:20PM +0200, Jan Kara wrote: > > On Thu 01-09-16 20:57:38, Ross Zwisler wrote: > > > On Wed, Aug 31, 2016 at 04:44:47PM +0800, Xiao Guangrong wrote: > > > > On 08/31/2016 01:09 AM, Dan Williams wrote: > > > > > > > > > >

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-09-08 Thread Ross Zwisler
On Tue, Sep 06, 2016 at 05:06:20PM +0200, Jan Kara wrote: > On Thu 01-09-16 20:57:38, Ross Zwisler wrote: > > On Wed, Aug 31, 2016 at 04:44:47PM +0800, Xiao Guangrong wrote: > > > On 08/31/2016 01:09 AM, Dan Williams wrote: > > > > > > > > Can you post your exact reproduction steps? This test is

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-09-06 Thread Jan Kara
On Thu 01-09-16 20:57:38, Ross Zwisler wrote: > On Wed, Aug 31, 2016 at 04:44:47PM +0800, Xiao Guangrong wrote: > > On 08/31/2016 01:09 AM, Dan Williams wrote: > > > > > > Can you post your exact reproduction steps? This test is not failing for > > > me. > > > > > > > Sure. > > > > 1. make th

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-09-01 Thread Ross Zwisler
On Wed, Aug 31, 2016 at 04:44:47PM +0800, Xiao Guangrong wrote: > On 08/31/2016 01:09 AM, Dan Williams wrote: > > > > Can you post your exact reproduction steps? This test is not failing for > > me. > > > > Sure. > > 1. make the guest kernel based on your tree, the top commit is >10d7902f

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-08-31 Thread Ross Zwisler
On Wed, Aug 31, 2016 at 04:44:47PM +0800, Xiao Guangrong wrote: > On 08/31/2016 01:09 AM, Dan Williams wrote: > > > > Can you post your exact reproduction steps? This test is not failing for > > me. > > > > Sure. > > 1. make the guest kernel based on your tree, the top commit is >10d7902f

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-08-31 Thread Xiao Guangrong
On 08/31/2016 01:09 AM, Dan Williams wrote: Can you post your exact reproduction steps? This test is not failing for me. Sure. 1. make the guest kernel based on your tree, the top commit is 10d7902fa0e82b (dax: unmap/truncate on device shutdown) and the config file can be found in

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-08-30 Thread Dan Williams
On Mon, Aug 29, 2016 at 11:53 PM, Xiao Guangrong wrote: > > > On 08/30/2016 03:30 AM, Ross Zwisler wrote: > >> >> Can you please verify that you are using "usable" memory for your memmap? >> All >> the details are here: >> >> >> https://nvdimm.wiki.kernel.org/how_to_choose_the_correct_memmap_kerne

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-08-30 Thread Xiao Guangrong
On 08/30/2016 03:30 AM, Ross Zwisler wrote: Can you please verify that you are using "usable" memory for your memmap? All the details are here: https://nvdimm.wiki.kernel.org/how_to_choose_the_correct_memmap_kernel_parameter_for_pmem_on_your_system Sure. This is the BIOS E820 info in the

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-08-29 Thread Ross Zwisler
On Mon, Aug 29, 2016 at 03:54:10PM +0800, Xiao Guangrong wrote: > > Hi Ross, > > Sorry for the delay, i just returned back from KVM Forum. > > On 08/20/2016 02:30 AM, Ross Zwisler wrote: > > On Fri, Aug 19, 2016 at 07:59:29AM -0700, Dan Williams wrote: > > > On Fri, Aug 19, 2016 at 4:19 AM, Xiao

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-08-29 Thread Xiao Guangrong
Hi Ross, Sorry for the delay, i just returned back from KVM Forum. On 08/20/2016 02:30 AM, Ross Zwisler wrote: On Fri, Aug 19, 2016 at 07:59:29AM -0700, Dan Williams wrote: On Fri, Aug 19, 2016 at 4:19 AM, Xiao Guangrong wrote: Hi Dan, Recently, Redhat reported that nvml test suite failed

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-08-21 Thread Boaz Harrosh
On 08/19/2016 09:30 PM, Ross Zwisler wrote: > On Fri, Aug 19, 2016 at 07:59:29AM -0700, Dan Williams wrote: >> On Fri, Aug 19, 2016 at 4:19 AM, Xiao Guangrong >> wrote: >>> >>> Hi Dan, >>> >>> Recently, Redhat reported that nvml test suite failed on QEMU/KVM, >>> more detailed info please refer to

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-08-19 Thread Ross Zwisler
On Fri, Aug 19, 2016 at 07:59:29AM -0700, Dan Williams wrote: > On Fri, Aug 19, 2016 at 4:19 AM, Xiao Guangrong > wrote: > > > > Hi Dan, > > > > Recently, Redhat reported that nvml test suite failed on QEMU/KVM, > > more detailed info please refer to: > >https://bugzilla.redhat.com/show_bug.cg

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-08-19 Thread Dan Williams
On Fri, Aug 19, 2016 at 4:19 AM, Xiao Guangrong wrote: > > Hi Dan, > > Recently, Redhat reported that nvml test suite failed on QEMU/KVM, > more detailed info please refer to: >https://bugzilla.redhat.com/show_bug.cgi?id=1365721 > > The reason for this bug is that the memory region created by