On 2018-10-05 1:07 a.m., Christoph Hellwig wrote: > On Thu, Oct 04, 2018 at 04:29:19PM -0600, Logan Gunthorpe wrote: >>> This needs to handle non bdev namespaces. >> >> As it's coded now the helper never gets called unless ns->bdev is not >> null. But in general, yes you are right, we should probably return NULL >> if ns->bdev is NULL. > > I'd rather skip that for now. Ok, if I do a v10 I'll add it but I don't have anything else queued up at the moment. >> Sure, I guess that makes sense. I've never tried it with fc hardware but >> I assume there's no reason it wouldn't work. >> >> I'll queue these changes up for a v10. > > And I'd wait until someone has actually tested this case. Agreed. Thanks for the review! Logan _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
- [PATCH v9 08/13] IB/core: Ensure we map P2P memory corre... Logan Gunthorpe
- Re: [PATCH v9 08/13] IB/core: Ensure we map P2P mem... Christoph Hellwig
- [PATCH v9 11/13] nvme-pci: Add a quirk for a pseudo CMB Logan Gunthorpe
- Re: [PATCH v9 11/13] nvme-pci: Add a quirk for a ps... Christoph Hellwig
- Re: [PATCH v9 11/13] nvme-pci: Add a quirk for ... Logan Gunthorpe
- [PATCH v9 13/13] nvmet: Optionally use PCI P2P memory Logan Gunthorpe
- Re: [PATCH v9 13/13] nvmet: Optionally use PCI P2P ... Sagi Grimberg
- Re: [PATCH v9 13/13] nvmet: Optionally use PCI ... Logan Gunthorpe
- Re: [PATCH v9 13/13] nvmet: Optionally use ... Christoph Hellwig
- Re: [PATCH v9 13/13] nvmet: Optionally ... Sagi Grimberg
- Re: [PATCH v9 13/13] nvmet: Optionally ... Logan Gunthorpe
- [PATCH v9 03/13] PCI/P2PDMA: Add PCI p2pmem DMA mappings... Logan Gunthorpe
- Re: [PATCH v9 03/13] PCI/P2PDMA: Add PCI p2pmem DMA... Christoph Hellwig
- [PATCH v9 12/13] nvmet: Introduce helper functions to al... Logan Gunthorpe
- Re: [PATCH v9 12/13] nvmet: Introduce helper functi... Christoph Hellwig
- [PATCH v9 01/13] PCI/P2PDMA: Support peer-to-peer memory Logan Gunthorpe
- [PATCH v9 07/13] block: Add PCI P2P flag for request que... Logan Gunthorpe
- Re: [PATCH v9 07/13] block: Add PCI P2P flag for re... Christoph Hellwig
- Re: [PATCH v9 07/13] block: Add PCI P2P flag for re... Jens Axboe
- Re: [PATCH v9 07/13] block: Add PCI P2P flag fo... Bjorn Helgaas
