diff options
author | NeilBrown <neilb@suse.de> | 2023-09-11 16:39:17 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-10-16 18:44:05 +0200 |
commit | 2b65a226840c0e86db0e7926856a0a017b3390f2 (patch) | |
tree | c42cc925b269cbb967f04c9e13afad60a8dddc8e /net/sunrpc/svc.c | |
parent | SUNRPC: add list of idle threads (diff) | |
download | linux-2b65a226840c0e86db0e7926856a0a017b3390f2.tar.xz linux-2b65a226840c0e86db0e7926856a0a017b3390f2.zip |
SUNRPC: discard SP_CONGESTED
We can tell if a pool is congested by checking if the idle list is
empty. We don't need a separate flag.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/svc.c')
-rw-r--r-- | net/sunrpc/svc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 9d080fe2dcdf..db4674211f36 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -719,7 +719,6 @@ void svc_pool_wake_idle_thread(struct svc_pool *pool) } rcu_read_unlock(); - set_bit(SP_CONGESTED, &pool->sp_flags); } EXPORT_SYMBOL_GPL(svc_pool_wake_idle_thread); |