]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: Unify SQ entry writing and doorbell ringing
authorJon Derrick <jonathan.derrick@intel.com>
Mon, 20 Jul 2015 16:14:08 +0000 (10:14 -0600)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:31:49 +0000 (16:31 -0700)
commitb456e0c344c10c6cd19a1ae1d173a4d7545388fd
tree426d46ec56b8d341507b204d7161fa797d544874
parentbf52a36b8ff3b560b5c0e19da6e414aab0772d9d
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>
(cherry picked from commit 498c43949c7b8f57e0afb8195019cf5a7ba72de0)

Orabug: 22620486
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
drivers/block/nvme-core.c