aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorKevin Hao <[email protected]>2019-10-18 02:53:14 +0000
committerKeith Busch <[email protected]>2019-10-18 14:09:41 +0000
commita4f40484e7f1dff56bb9f286cc59ffa36e0259eb (patch)
tree5acd12c4cc9d9ce326cc62bf9d75afe8ac0d0719 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentnvme-tcp: fix possible leakage during error flow (diff)
downloadkernel-a4f40484e7f1dff56bb9f286cc59ffa36e0259eb.tar.gz
kernel-a4f40484e7f1dff56bb9f286cc59ffa36e0259eb.zip
nvme-pci: Set the prp2 correctly when using more than 4k page
In the current code, the nvme is using a fixed 4k PRP entry size, but if the kernel use a page size which is more than 4k, we should consider the situation that the bv_offset may be larger than the dev->ctrl.page_size. Otherwise we may miss setting the prp2 and then cause the command can't be executed correctly. Fixes: dff824b2aadb ("nvme-pci: optimize mapping of small single segment requests") Cc: [email protected] Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Kevin Hao <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions