diff options
author | Christoph Hellwig <hch@lst.de> | 2017-01-13 14:29:11 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-01-14 01:17:04 +0300 |
commit | fd102b125e174edbea34e6e7a2d371bc7901c53d (patch) | |
tree | 724ba8803cc9ac269baff0fe5ff30d1d2fb39932 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2e3258ecfaebace1ceffaa14e0ea94775d54f46f (diff) | |
download | linux-fd102b125e174edbea34e6e7a2d371bc7901c53d.tar.xz |
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 <hch@lst.de>
Reported-by: Chris Valean <v-chvale@microsoft.com>
Reported-by: Dexuan Cui <decui@microsoft.com>
Fixes: f9d03f96 ("block: improve handling of the magic discard payload")
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions