diff options
author | NeilBrown <neilb@suse.de> | 2023-09-11 10:39:17 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-10-16 12:44:05 -0400 |
commit | 2b65a226840c0e86db0e7926856a0a017b3390f2 (patch) | |
tree | c42cc925b269cbb967f04c9e13afad60a8dddc8e /include/linux/sunrpc | |
parent | 5ff817b23534dd3942f881ab01dd5050505517aa (diff) | |
download | linux-stable-2b65a226840c0e86db0e7926856a0a017b3390f2.tar.gz linux-stable-2b65a226840c0e86db0e7926856a0a017b3390f2.tar.bz2 linux-stable-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 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/svc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index e9c34e99bc88..22b3018ebf62 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h @@ -50,7 +50,6 @@ struct svc_pool { /* bits for sp_flags */ enum { SP_TASK_PENDING, /* still work to do even if no xprt is queued */ - SP_CONGESTED, /* all threads are busy, none idle */ SP_NEED_VICTIM, /* One thread needs to agree to exit */ SP_VICTIM_REMAINS, /* One thread needs to actually exit */ }; |