[PATCH 1/4] nvme: move driver into subdirectory

Christoph Hellwig hch at infradead.org
Mon Sep 28 10:26:29 PDT 2015


Hi Phil,

On Mon, Sep 28, 2015 at 04:06:13PM +0000, Cayton, Phil wrote:
> Two questions:
> 1. Since this is the block driver for NVMe why would we not put this under block (e.g., drivers/block/nvme)

Because we mostly use that for simple block drivers.  Everything that
is growing into a complex subsystems moves out, e.g. drivers/scsi,
drivers/cdrom/, drivers/memstick, drivers/mmc, etc.

> 2. Are we assuming any target code will go in this path as well?  Why would not any target code go under drivers/target?

drivers/target is a SCSI target and a totally different codebase. In
retrospective it really should have been drivers/scsi/target.



More information about the Linux-nvme mailing list