diff options
author | Yu Kuai <[email protected]> | 2024-03-05 15:22:59 +0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2024-03-05 12:53:32 -0800 |
commit | 7a2347e284d7ec2f0759be4db60fa7ca937284fc (patch) | |
tree | 6246ffadd66cb7f1da1318ceaa12ba6dfa357f58 /scripts/gdb/linux/utils.py | |
parent | 2f03d0c2cd451c7ac2f317079d4ec518f0986b55 (diff) |
md: export helpers to stop sync_thread
Add new helpers:
void md_idle_sync_thread(struct mddev *mddev);
void md_frozen_sync_thread(struct mddev *mddev);
void md_unfrozen_sync_thread(struct mddev *mddev);
The helpers will be used in dm-raid in later patches to fix regressions
and prevent calling md_reap_sync_thread() directly.
Cc: [email protected] # v6.7+
Signed-off-by: Yu Kuai <[email protected]>
Signed-off-by: Xiao Ni <[email protected]>
Acked-by: Mike Snitzer <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions