aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGuoqing Jiang <[email protected]>2019-06-14 17:10:36 +0800
committerSong Liu <[email protected]>2019-06-20 16:36:00 -0700
commit963c555e75b033202dd76cf6325a7b7c83d08d5f (patch)
tree093639f1a814ce053bee95459f4f9c242dfc72ea /tools/perf/scripts/python/stackcollapse.py
parent3e148a3209792e04f63ec99701235c960765fc9a (diff)
md: introduce mddev_create/destroy_wb_pool for the change of member device
Previously, we called rdev_init_wb to avoid potential data inconsistency when array is created. Now, we need to call the function and create mempool if a device is added or just be flaged as "writemostly". So mddev_create_wb_pool is introduced and called accordingly. And for safety reason, we mark implicit GFP_NOIO allocation scope for create mempool during mddev_suspend/mddev_resume. And mempool should be removed conversely after remove a member device or its's "writemostly" flag, which is done by call mddev_destroy_wb_pool. 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions