aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorLogan Gunthorpe <[email protected]>2020-10-16 16:19:04 -0600
committerChristoph Hellwig <[email protected]>2020-10-22 15:27:57 +0200
commitdf06047d54276f73782c9d97882b305fca745d3f (patch)
treea000029e08e4d4f58053060aa1e9e85a84d7d6d6 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent85bd23f3dc09a2ae9e56885420e52c54bf983713 (diff)
nvmet: limit passthru MTDS by BIO_MAX_PAGES
nvmet_passthru_map_sg() only supports mapping a single BIO, not a chain so the effective maximum transfer should also be limitted by BIO_MAX_PAGES (presently this works out to 1MB). For PCI passthru devices the max_sectors would typically be more limitting than BIO_MAX_PAGES, but this may not be true for all passthru devices. Fixes: c1fef73f793b ("nvmet: add passthru code to process commands") Suggested-by: Christoph Hellwig <[email protected]> Signed-off-by: Logan Gunthorpe <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Sagi Grimberg <[email protected]> Cc: Chaitanya Kulkarni <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions