]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: separate command prep and issue
authorJens Axboe <axboe@kernel.dk>
Fri, 29 Oct 2021 20:34:11 +0000 (14:34 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 Dec 2021 17:54:35 +0000 (10:54 -0700)
commit64114839bcc83c4c90dbe07588a0b7e5efa99f2e
treecd1778bf96ab27561b538f06ef0b5a81cb7f6b92
parent76eb8281f51de9042393f919c0c98d6684853b2c
nvme: separate command prep and issue

Add a nvme_prep_rq() helper to setup a command, and nvme_queue_rq() is
adapted to use this helper.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c