commit | 498c43949c7b8f57e0afb8195019cf5a7ba72de0 | [log] [tgz] |
---|---|---|
author | Jon Derrick <jonathan.derrick@intel.com> | Mon Jul 20 10:14:08 2015 -0600 |
committer | Jens Axboe <axboe@fb.com> | Tue Jul 21 09:40:09 2015 -0600 |
tree | e8f8806ac007f39d9786584b94a04fb2e87ff332 | |
parent | 0034af036554c39eefd14d835a8ec3496ac46712 [diff] |
NVMe: Unify SQ entry writing and doorbell ringing This patch changes sq_cmd writers to instead create their command on the stack. __nvme_submit_cmd copies the sq entry to the queue and writes the doorbell. Signed-off-by: Jon Derrick <jonathan.derrick@intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>