diff options
| author | Yu Kuai <yukuai3@huawei.com> | 2024-08-26 15:44:19 +0800 |
|---|---|---|
| committer | Song Liu <song@kernel.org> | 2024-08-27 10:14:15 -0700 |
| commit | 9e4481ce0e55b4ef9795845d8b6770e3f6f4b24d (patch) | |
| tree | 8d8b74856784d8616af37d949f7af401f103555e /tools/perf/scripts/python | |
| parent | md/md-bitmap: add 'behind_writes' and 'behind_wait' into struct md_bitmap_stats (diff) | |
| download | linux-9e4481ce0e55b4ef9795845d8b6770e3f6f4b24d.tar.gz linux-9e4481ce0e55b4ef9795845d8b6770e3f6f4b24d.zip | |
md/md-cluster: use helper md_bitmap_get_stats() to get pages in resize_bitmaps()
Use the existed helper instead of open coding it, avoid dereferencing
bitmap directly to prepare inventing a new bitmap.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20240826074452.1490072-10-yukuai1@huaweicloud.com
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
