Revert "nfsd: Don't call freezable_schedule_timeout() after each successful page allocation in svc_alloc_arg()."

This reverts commit 64d856f842.
This commit is contained in:
Ksawlii 2024-11-24 00:23:50 +01:00
parent 10dedc6446
commit 9b92164945

View file

@ -679,8 +679,8 @@ static int svc_alloc_arg(struct svc_rqst *rqstp)
set_current_state(TASK_RUNNING);
return -EINTR;
}
freezable_schedule_timeout(msecs_to_jiffies(500));
}
freezable_schedule_timeout(msecs_to_jiffies(500));
rqstp->rq_pages[i] = p;
}
rqstp->rq_page_end = &rqstp->rq_pages[i];