diff options
author | Christoph Hellwig <hch@lst.de> | 2015-05-22 11:12:46 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-05-22 08:37:20 -0600 |
commit | d29ec8241c10eacf59c23b3828a88dbae06e7e3f (patch) | |
tree | a922e69e989c7555a68e49e563d76b70ca5e878a /mm/frontswap.c | |
parent | 772ce43559e076730ddff5907fabcb3485545e38 (diff) | |
download | talos-obmc-linux-d29ec8241c10eacf59c23b3828a88dbae06e7e3f.tar.gz talos-obmc-linux-d29ec8241c10eacf59c23b3828a88dbae06e7e3f.zip |
nvme: submit internal commands through the block layer
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>
Diffstat (limited to 'mm/frontswap.c')
0 files changed, 0 insertions, 0 deletions