diff options
| author | Keith Busch <[email protected]> | 2015-11-20 15:38:13 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2015-11-20 15:38:13 +0000 |
| commit | 604e8c8da8854351496215d269c3fa93859e3fee (patch) | |
| tree | 6d3860193ac4eba815623aebaf342161542d4e62 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | lightnvm: add free and bad lun info to show luns (diff) | |
| download | kernel-604e8c8da8854351496215d269c3fa93859e3fee.tar.gz kernel-604e8c8da8854351496215d269c3fa93859e3fee.zip | |
NVMe: reap completion entries when deleting queue
Make sure that there are no unprocesssed entries on a completion
queue before deleting it, and check for validity of the CQ
door bell before writing completions to it.
This fixes problems with doing a sysfs reset of the device while
it's handling IO.
Tested-by: Jon Derrick <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
