diff options
| author | Dennis Zhou <[email protected]> | 2018-12-05 12:10:31 -0500 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-12-07 22:26:37 -0700 |
| commit | 5cdf2e3fea5ee37b66842d76a9b06e6dac0b933d (patch) | |
| tree | b460ef1ba02562982e2f000e704ce7214be4d5f3 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 892ad71f622bbf39c6de321d5ca9b0fdec237c24 (diff) | |
blkcg: associate blkg when associating a device
Previously, blkg association was handled by controller specific code in
blk-throttle and blk-iolatency. However, because a blkg represents a
relationship between a blkcg and a request_queue, it makes sense to keep
the blkg->q and bio->bi_disk->queue consistent.
This patch moves association into the bio_set_dev macro(). This should
cover the majority of cases where the device is set/changed keeping the
two pointers consistent. Fallback code is added to
blkcg_bio_issue_check() to catch any missing paths.
Signed-off-by: Dennis Zhou <[email protected]>
Reviewed-by: Josef Bacik <[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