commit | ba1ca37ea4e320c108c356eb8c91ac652afc57dd | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Oct 16 07:58:38 2015 +0200 |
committer | Jens Axboe <axboe@fb.com> | Tue Dec 01 10:59:39 2015 -0700 |
tree | b9294d06f7031b254c18d86a78234e703c2e0d1c | |
parent | 69d2b571746d1c3fa10b7a0aa00859b296a98d12 [diff] |
nvme: refactor nvme_queue_rq This "backports" the structure I've used for the fabrics driver. It mostly started out as a cleanup so that I could actually understand the code, but I think it also qualifies as a micro-optimization due to the reduced time we hold q_lock and disable interrupts. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>