commit | 90ea5ca45c1fa09bec83ea106b9947170a00edb8 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat May 26 13:45:55 2018 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Wed May 30 08:04:26 2018 +0200 |
tree | d5b484a72667e1bd4dfc8dcf651ddf4aed32ce03 | |
parent | b9cac43c2c4aab221ee0bac72bd6b9f8bf00a223 [diff] |
nvme-pci: simplify __nvme_submit_cmd With recent CQ handling improvements we can now move the locking into __nvme_submit_cmd. Also remove the local tail variable to make the code more obvious, remove the __ prefix in the name, and fix the comments describing the function. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jens Axboe <axboe@kernel.dk> Reviewed-by: Max Gurtovoy <maxg@mellanox.com>