aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorGuoqing Jiang <[email protected]>2022-06-21 11:11:29 +0800
committerJens Axboe <[email protected]>2022-08-02 17:14:40 -0600
commit9dfbdafda3b34e262e43e786077bab8e476a89d1 (patch)
treeaa96ff045ce70790592c50d16d50bb95a185b264 /scripts/stackusage
parent05ce7fb946c37fc6fc8bf14073279e570f78f69e (diff)
md: unlock mddev before reap sync_thread in action_store
Since the bug which commit 8b48ec23cc51a ("md: don't unregister sync_thread with reconfig_mutex held") fixed is related with action_store path, other callers which reap sync_thread didn't need to be changed. Let's pull md_unregister_thread from md_reap_sync_thread, then fix previous bug with belows. 1. unlock mddev before md_reap_sync_thread in action_store. 2. save reshape_position before unlock, then restore it to ensure position not changed accidentally by others. Signed-off-by: Guoqing Jiang <[email protected]> Signed-off-by: Song Liu <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions