aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMinwoo Im <minwoo.im.dev@gmail.com>2017-12-20 16:30:50 +0900
committerChristoph Hellwig <hch@lst.de>2017-12-29 10:31:04 +0100
commit955b1b5a00ba694159a7d3763412597f707c294d (patch)
tree84c57107b104ec0174f39b925a4a500b0d676761 /tools/perf/scripts/python/export-to-sqlite.py
parent6d0e4827b72afc71349784336d5eb6df4df106e6 (diff)
nvme-pci: move use_sgl initialization to nvme_init_iod()
A flag "use_sgl" of "struct nvme_iod" has been used in nvme_init_iod() without being set to any value. It seems like "use_sgl" has been set in either nvme_pci_setup_prps() or nvme_pci_setup_sgls() which occur later than nvme_init_iod(). Make "iod->use_sgl" being set in a proper place, nvme_init_iod(). Also move nvme_pci_use_sgls() up above nvme_init_iod() to make it possible to be called by nvme_init_iod(). Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions