OSDN Git Service

nvme-pci: remove last_sq_tail
authorKeith Busch <kbusch@kernel.org>
Mon, 27 Apr 2020 18:54:46 +0000 (11:54 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 May 2020 22:18:36 +0000 (16:18 -0600)
commit54b2fcee1db041a83b52b51752dade6090cf952f
treeb20574005ddc702eb039754bfc74a300014d8fe7
parent74943d45eef4db64b1e5c9f7ad1d018576e113c5
nvme-pci: remove last_sq_tail

The nvme driver does not have enough tags to wrap the queue, and blk-mq
will no longer call commit_rqs() when there are no new submissions to
notify.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c