diff options
| author | Ming Lei <[email protected]> | 2016-11-11 20:05:32 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2016-11-22 08:57:55 -0700 |
| commit | 84c8590646d5b35804bac60eb58b145839b5893e (patch) | |
| tree | 0f465eebb030ac1b2a5295b6c13d1c8d92c9b0c2 /tools/perf/scripts/python | |
| parent | 2c73a603cd0722c0594afc9efa0a617204303348 (diff) | |
target: avoid accessing .bi_vcnt directly
When the bio is full, bio_add_pc_page() will return zero,
so use this information tell when the bio is full.
Also replace access to .bi_vcnt for pr_debug() with bio_segments().
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions