nvme: Fix spurious interrupts
The code had asserted an interrupt every time it was requested to check for new completion queue entries.This can result in spurious interrupts seen by the guest OS. Fix this by asserting an interrupt only if there are un-acknowledged completion queue entries available. Reported-by: NGuenter Roeck <linux@roeck-us.net> Signed-off-by: NKeith Busch <keith.busch@intel.com> Tested-by: NGuenter Roeck <linux@roeck-us.net> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
Showing
想要评论请 注册 或 登录