diff options
| author | Guoqing Jiang <[email protected]> | 2019-06-14 17:10:38 +0800 |
|---|---|---|
| committer | Song Liu <[email protected]> | 2019-06-20 16:36:00 -0700 |
| commit | 617b194a13c0f3b0a6d14fc6227c222877c23b4e (patch) | |
| tree | a02a0ed200e15002332d6ac82059cef91658f751 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 10c92fca636e40dcb15d85ffe06b1b6843cd28fc (diff) | |
md-bitmap: create and destroy wb_info_pool with the change of bitmap
The write-behind attribute is part of bitmap, since bitmap
can be added/removed dynamically with the following.
1. mdadm --grow /dev/md0 --bitmap=none
2. mdadm --grow /dev/md0 --bitmap=internal --write-behind
So we need to destroy wb_info_pool in md_bitmap_destroy,
and create the pool before load bitmap.
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