nvme-pci: use atomic bitops to mark a queue enabled
mainline inclusion from mainline-5.0-rc1 commit 4e224106 category: bugfix bugzilla: 167363 CVE: NA --------------------------- This gets rid of all the messing with cq_vector and the ->polled field by using an atomic bitop to mark the queue enabled or not. Signed-off-by: NChristoph Hellwig <hch@lst.de> Reviewed-by: NKeith Busch <keith.busch@intel.com> Signed-off-by: NJens Axboe <axboe@kernel.dk> Conflicts: drivers/nvme/host/pci.c [ Non-bugfix patch 4b04cc6a("nvme: add separate poll queue map") is not applied. ] Signed-off-by: NZhihao Cheng <chengzhihao1@huawei.com> Reviewed-by: NHou Tao <houtao1@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录