aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2014-09-08 08:04:01 +0900
committerJens Axboe <[email protected]>2014-09-08 10:00:43 -0600
commit018a17bdc8658ad448497c84d4ba21b6985820ec (patch)
tree77bfb4ea1b75452dd68817d59770e8d1c6bd37ec /tools/perf/scripts/python/sched-migration.py
parent1a1e4530eacca37e85a4d66a164273c7dba9110c (diff)
bdi: reimplement bdev_inode_switch_bdi()
A block_device may be attached to different gendisks and thus different bdis over time. bdev_inode_switch_bdi() is used to switch the associated bdi. The function assumes that the inode could be dirty and transfers it between bdis if so. This is a bit nasty in that it reaches into bdi internals. This patch reimplements the function so that it writes out the inode if dirty. This is a lot simpler and can be implemented without exposing bdi internals. Signed-off-by: Tejun Heo <[email protected]> Cc: Alexander Viro <[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