diff options
author | Keith Busch <kbusch@kernel.org> | 2023-01-05 23:28:31 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2023-02-01 16:21:59 +0300 |
commit | ae5829350324a6bd93c1d9fc3ac67afc0c647e32 (patch) | |
tree | b19aa60f2552893da62c70cc5a91a4ad5929e9e4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 01df742d8c5c070f92fa9c046907506a2a0f7a9f (diff) | |
download | linux-ae5829350324a6bd93c1d9fc3ac67afc0c647e32.tar.xz |
nvme-pci: use mapped entries for sgl decision
The driver uses the dma entries for setting up its command's SGL/PRP
lists. The dma mapping might have fewer entries than the physical
segments, so check the dma mapped count to determine which nvme data
layout method is more optimal.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
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