RFC: nvme driver split, the main part

Christoph Hellwig hch at lst.de
Wed Oct 14 05:58:57 PDT 2015

On Tue, Oct 13, 2015 at 04:23:18PM -0700, Ming Lin wrote:
> I ported virtio-nvme to nvme-split. It works.
> https://git.kernel.org/cgit/linux/kernel/git/mlin/linux.git/log/?h=nvme-split/virtio

Great!  I'll take a close look at your code soon.

> For the naming, how about:
> - for core data structures/functions, prefixed all with nvme_core_*
> - for pci data structures/functions, prefixed all with nvme_pci_*

I've use nvme_pci_* for any newly added PCI specific functions, and
we can slowly move the rest over once the split is done.  I'd prefer
to just use nvme_ for the core code.  While we're still working on
the split I'd prefer to avoid cosmetic renames for now.

More information about the Linux-nvme mailing list