| commit | 8093f7ca73c1633e458c16a74b51bcc3c94564c4 | [log] [tgz] |
|---|---|---|
| author | Ming Lin <mlin@kernel.org> | Tue Apr 12 13:10:14 2016 -0600 |
| committer | Jens Axboe <axboe@fb.com> | Tue Apr 12 13:44:00 2016 -0600 |
| tree | a9a51fc5fc2d1f58343ff469b8e38d21b8525f51 | |
| parent | 03b5929ebb20457e2fd13a701954efa2b2fb7ded [diff] |
nvme: add helper nvme_setup_cmd()
This moves nvme_setup_{flush,discard,rw} calls into a common
nvme_setup_cmd() helper. So we can eventually hide all the command
setup in the core module and don't even need to update the fabrics
drivers for any specific command type.
Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>