aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuoqing Jiang <[email protected]>2019-06-14 17:10:37 +0800
committerSong Liu <[email protected]>2019-06-20 16:36:00 -0700
commit10c92fca636e40dcb15d85ffe06b1b6843cd28fc (patch)
treeaca8860019ebe2219e4e5edd35b4aa6ae3aeadde /tools/perf/scripts/python
parent963c555e75b033202dd76cf6325a7b7c83d08d5f (diff)
md-bitmap: create and destroy wb_info_pool with the change of backlog
Since we can enable write-behind mode by write backlog node, so create wb_info_pool if the mode is just enabled, also call call md_bitmap_update_sb to make user aware the write-behind mode is enabled. Conversely, wb_info_pool should be destroyed when write-behind mode is disabled. Beside above, it is better to update bitmap sb if we change the number of max_write_behind. Reviewed-by: NeilBrown <[email protected]> Signed-off-by: Guoqing Jiang <[email protected]> Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions