aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChaitanya Kulkarni <[email protected]>2018-05-11 02:38:15 -0400
committerChristoph Hellwig <[email protected]>2018-05-25 16:50:12 +0200
commiteb464833a2e787996474ad33dafa2c5336d4c477 (patch)
treed3a1f124fd3bb2931219016457fa997c1d090b40 /tools/perf/scripts/python/bin
parent17d78252ee568ecf94df6829c81578c0602991eb (diff)
nvmet-loop: use nr_phys_segments when map rq to sgl
Use blk_rq_nr_phys_segments() instead of blk_rq_payload_bytes() to check if a command contains data to me mapped. This fixes the case where a struct requests contains LBAs, but no data will actually be send, e.g. the pending Write Zeroes support. Signed-off-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions