diff options
| author | Christoph Hellwig <hch@lst.de> | 2018-12-02 17:46:20 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2018-12-04 11:38:18 -0700 |
| commit | 0b2a8a9f4b564c7d923597828d93cd1f69ce40e0 (patch) | |
| tree | 0027c3ba78231c4ebcb10b1d1c8254395b07dcfe /include/linux/debugobjects.h | |
| parent | c6d962aebaf8ec5d867aac09ee33e3f528c2539d (diff) | |
| download | cachepc-linux-0b2a8a9f4b564c7d923597828d93cd1f69ce40e0.tar.gz cachepc-linux-0b2a8a9f4b564c7d923597828d93cd1f69ce40e0.zip | |
nvme-pci: consolidate code for polling non-dedicated queues
We have three places that can poll for I/O completions on a normal
interrupt-enabled queue. All of them are in slow path code, so
consolidate them to a single helper that uses spin_lock_irqsave and
removes the fast path cqe_pending check.
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
