My (limited) understanding is that the amount of socket output buffer
space the server thinks it needs for sending a reply is subtracted
from sk_reserved. So it seems like svc_reserve() would be the place
to assert that sk_reserved does not go negative.
As this is used mostly by svc_reserve_auth(), that suggests that a
reasonable test case would be running a read/write intensive workload
with some security flavor that uses large authenticators.
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
-
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html