diff options
author | 2017-08-27 15:56:37 +0200 | |
---|---|---|
committer | 2017-08-28 23:00:44 +0300 | |
commit | 5228b3280b9bb8fa6aef59f891cca64a028e9b36 (patch) | |
tree | 28be145a848ae793071ac7b8800dc6cb36eb353c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvme-rdma: Use unlikely macro in the fast path (diff) | |
download | linux-dev-5228b3280b9bb8fa6aef59f891cca64a028e9b36.tar.xz linux-dev-5228b3280b9bb8fa6aef59f891cca64a028e9b36.zip |
nvme: fix uninitialized prp2 value on small transfers
The value of iod->first_dma ends up as prp2 in NVMe commands. In case
there is not enough data to cross a page boundary, iod->first_dma is
never initialized and contains random data.
Comply with the NVMe specification and fill in 0 in that case.
Signed-off-by: Jan H. Schönherr <jschoenh@amazon.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions