Message ID | 20230815015426.5091-2-neilb@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | SUNRPC: remainder of srv queueing work | expand |
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index b875b2332069..b8539545fefd 100644 --- a/net/sunrpc/svc_xprt.c +++ b/net/sunrpc/svc_xprt.c @@ -867,7 +867,7 @@ void svc_recv(struct svc_rqst *rqstp) /* Normally we will wait up to 5 seconds for any required * cache information to be provided. */ - if (test_bit(SP_CONGESTED, &pool->sp_flags)) + if (!test_bit(SP_CONGESTED, &pool->sp_flags)) rqstp->rq_chandle.thread_wait = 5 * HZ; else rqstp->rq_chandle.thread_wait = 1 * HZ;
Previous patch dropped the "!" when moving this test Signed-off-by: NeilBrown <neilb@suse.de> --- net/sunrpc/svc_xprt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)