]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
raid5-cache: suspend reclaim thread instead of shutdown
authorShaohua Li <shli@fb.com>
Mon, 21 Nov 2016 18:29:18 +0000 (10:29 -0800)
committerShaohua Li <shli@fb.com>
Thu, 24 Nov 2016 03:30:06 +0000 (19:30 -0800)
commitce1ccd079fac0336191c0fd516ebf0e4985d59d4
tree4d1f847d7fdfe2d0882e0e900c2b543b76bc5890
parent1919cbb23bf1b3e0fdb7b6edfb7369f920744087
raid5-cache: suspend reclaim thread instead of shutdown

There is mechanism to suspend a kernel thread. Use it instead of playing
create/destroy game.

Signed-off-by: Shaohua Li <shli@fb.com>
Reviewed-by: NeilBrown <neilb@suse.de>
Cc: Song Liu <songliubraving@fb.com>
drivers/md/md.c
drivers/md/raid5-cache.c