|
@@ -4486,6 +4486,7 @@ static int md_thread(void * arg)
|
|
* many dirty RAID5 blocks.
|
|
* many dirty RAID5 blocks.
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
+ current->flags |= PF_NOFREEZE;
|
|
allow_signal(SIGKILL);
|
|
allow_signal(SIGKILL);
|
|
while (!kthread_should_stop()) {
|
|
while (!kthread_should_stop()) {
|
|
|
|
|
|
@@ -4502,7 +4503,6 @@ static int md_thread(void * arg)
|
|
test_bit(THREAD_WAKEUP, &thread->flags)
|
|
test_bit(THREAD_WAKEUP, &thread->flags)
|
|
|| kthread_should_stop(),
|
|
|| kthread_should_stop(),
|
|
thread->timeout);
|
|
thread->timeout);
|
|
- try_to_freeze();
|
|
|
|
|
|
|
|
clear_bit(THREAD_WAKEUP, &thread->flags);
|
|
clear_bit(THREAD_WAKEUP, &thread->flags);
|
|
|
|
|