aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2015-10-15 13:38:48 -0600
committerJens Axboe <[email protected]>2015-10-15 13:38:48 -0600
commit0dfc70c33409afc232ef0b9ec210535dfbf9bc61 (patch)
tree3ce38a73734b4a16364b1f2ba59a45df95dcdb6b /tools/perf/scripts/python
parentb02176f30cd30acccd3b633ab7d9aed8b5da52ff (diff)
NVMe: Fix memory leak on retried commands
Resources are reallocated for requeued commands, so unmap and release the iod for the failed command. It's a pretty bad memory leak and causes a kernel hang if you remove a drive because of a busy dma pool. You'll get messages spewing like this: nvme 0000:xx:xx.x: dma_pool_destroy prp list 256, ffff880420dec000 busy and lock up pci and the driver since removal never completes while holding a lock. Cc: [email protected] Cc: <[email protected]> # 4.0.x- Signed-off-by: Keith Busch <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions