summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorLi Youhong <liyouhong@kylinos.cn>2026-08-27 15:56:20 +0800
committerYu Kuai <yukuai@fygo.io>2026-09-20 13:19:35 +0800
commit5c2f4115051d064ad79b0b4edac70a2b62528d9d (patch)
treefce50161ce80f4e730f4c4784a9b51e70df3b977 /include/linux/timerqueue.h
parentc43d40eec432f9cc58c29a18bf00fe6b3abd5e18 (diff)
md/raid1-10: share flush_bio_list between raid1 and raid10
raid1 already had flush_bio_list(); raid10 open-coded the same prepare/wake/submit loop in flush_pending_writes() and raid10_unplug(). Move a shared helper into raid1-10.c. The shared helper uses wq_has_sleeper() before wake_up(), matching raid1's wake_up_barrier() and raid10_unplug(). No intentional functional change. Signed-off-by: Li Youhong <liyouhong@kylinos.cn> Link: https://patch.msgid.link/20260827075620.3599227-4-dayou5941@163.com Signed-off-by: Yu Kuai <yukuai@fygo.io>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions