RE: [External] Re: [PATCH v2] libnvdimm, region_devs: stop NDD_ALIASING bit test if one test pass

2018-09-04 Thread Ocean HY1 He
> -Original Message- > From: Dan Williams > Sent: Tuesday, September 04, 2018 11:58 PM > To: Ocean He > Cc: Ross Zwisler ; Vishal L Verma > ; Dave Jiang ; linux- > nvdimm ; Linux Kernel Mailing List ker...@vger.kernel.org>; Ocean HY1 He > Subject: [External] Re: [PATCH v2] libnvdimm,

Re: Snapshot target and DAX-capable devices

2018-09-04 Thread Dave Chinner
On Fri, Aug 31, 2018 at 11:42:55AM +0200, Jan Kara wrote: > On Fri 31-08-18 09:38:09, Dave Chinner wrote: > > On Thu, Aug 30, 2018 at 03:47:32PM -0400, Mikulas Patocka wrote: > > > You can't support dax on snapshot - if someone maps a block and the block > > > needs to be moved, then what? > > >

转发.如何开发更多的新客户,以获得更多的国际订单?

2018-09-04 Thread 邹总
亲: 附-件-内-容-请-您-亲-启 4:10:07 圣人择可言而后言,择可行而后行。 ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

Re: [PATCH v2] libnvdimm, region_devs: stop NDD_ALIASING bit test if one test pass

2018-09-04 Thread Dan Williams
On Tue, Sep 4, 2018 at 3:47 AM, Ocean He wrote: > From: Ocean He > > There is no need to finish entire loop to execute NDD_ALIASING bit test > against every nvdimm->flags. Of course there is. I see nothing stopping someone mixing an NVDIMM that supports labels with one that doesn't. If anything

Re: [PATCH v5 10/13] nvme-pci: Add support for P2P memory in requests

2018-09-04 Thread Logan Gunthorpe
On 04/09/18 09:16 AM, Jason Gunthorpe wrote: >> if (iod->nents) { >> -dma_unmap_sg(dev->dev, iod->sg, iod->nents, dma_dir); >> +/* P2PDMA requests do not need to be unmapped */ >> +if (!is_pci_p2pdma_page(sg_page(iod->sg))) >> +dma_unm

Re: [PATCH 2/3] libnvdimm: nd_region flush callback support

2018-09-04 Thread kbuild test robot
Hi Pankaj, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linux-nvdimm/libnvdimm-for-next] [also build test WARNING on v4.19-rc2 next-20180831] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https:/

Re: [PATCH v5 10/13] nvme-pci: Add support for P2P memory in requests

2018-09-04 Thread Jason Gunthorpe
On Thu, Aug 30, 2018 at 12:53:49PM -0600, Logan Gunthorpe wrote: > For P2P requests, we must use the pci_p2pmem_map_sg() function > instead of the dma_map_sg functions. > > With that, we can then indicate PCI_P2P support in the request queue. > For this, we create an NVME_F_PCI_P2P flag which tell

Re: [PATCH 3/3] virtio-pmem: Add virtio pmem driver

2018-09-04 Thread kbuild test robot
Hi Pankaj, Thank you for the patch! Yet something to improve: [auto build test ERROR on linux-nvdimm/libnvdimm-for-next] [also build test ERROR on v4.19-rc2 next-20180903] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.

[PATCH v2] libnvdimm, region_devs: stop NDD_ALIASING bit test if one test pass

2018-09-04 Thread Ocean He
From: Ocean He There is no need to finish entire loop to execute NDD_ALIASING bit test against every nvdimm->flags. In practice, all the nd_mapping->nvdimm have the same flags. So it's safe to return ND_DEVICE_NAMESPACE_PMEM if the NDD_ALIASING bit is found inside the loop, while saving a few cpu