Skip to content

Commit

Permalink
nvme: submit internal commands through the block layer
Browse files Browse the repository at this point in the history
Use block layer queues with an internal cmd_type to submit internally
generated NVMe commands.  This both simplifies the code a lot and allow
for a better structure.  For example now the LighNVM code can construct
commands without knowing the details of the underlying I/O descriptors.
Or a future NVMe over network target could inject commands, as well as
could the SCSI translation and ioctl code be reused for such a beast.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
  • Loading branch information
Christoph Hellwig authored and Jens Axboe committed May 22, 2015
1 parent 772ce43 commit d29ec82
Show file tree
Hide file tree
Showing 3 changed files with 300 additions and 545 deletions.
Loading

0 comments on commit d29ec82

Please sign in to comment.