diff options
| author | Kent Overstreet <[email protected]> | 2014-02-10 17:45:50 -0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2014-02-11 08:40:45 -0700 |
| commit | 8423ae3d7a3cfe084865262cfaeba1359d405182 (patch) | |
| tree | e8e6f9c31f5622e66ff176b600cf3b3c951eb4d8 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 9d4cb8e3a5b448d802155688bf2d50ac1b9e1a51 (diff) | |
block: Fix cloning of discard/write same bios
Immutable biovecs changed the way bio segments are treated in such a way that
bio_for_each_segment() cannot now do what we want for discard/write same bios,
since bi_size means something completely different for them.
Fortunately discard and write same bios never have more than a single biovec, so
bio_for_each_segment() is unnecessary and not terribly meaningful for them, but
we still have to special case them in a few places.
Signed-off-by: Kent Overstreet <[email protected]>
Tested-by: Richard W.M. Jones <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions