diff options
author | Christoph Hellwig <[email protected]> | 2017-01-13 12:29:11 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-01-13 15:17:04 -0700 |
commit | fd102b125e174edbea34e6e7a2d371bc7901c53d (patch) | |
tree | 724ba8803cc9ac269baff0fe5ff30d1d2fb39932 /tools/perf/scripts/python/sched-migration.py | |
parent | 2e3258ecfaebace1ceffaa14e0ea94775d54f46f (diff) |
scsi: use blk_rq_payload_bytes
Without that we'll pass a wrong payload size in cmd->sdb, which
can lead to hangs with drivers that need the total transfer size.
Signed-off-by: Christoph Hellwig <[email protected]>
Reported-by: Chris Valean <[email protected]>
Reported-by: Dexuan Cui <[email protected]>
Fixes: f9d03f96 ("block: improve handling of the magic discard payload")
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions