From: Tom Tucker Date: Mon, 31 Dec 2007 03:07:31 +0000 (-0600) Subject: svc: Add a transport function that checks for write space X-Git-Tag: v2.6.25-rc1~1072^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=323bee32e9bef14c6dd943ecc8e8cd373a9c94d9;p=pandora-kernel.git svc: Add a transport function that checks for write space In order to avoid blocking a service thread, the receive side checks to see if there is sufficient write space to reply to the request. Each transport has a different mechanism for determining if there is enough write space to reply. The code that checked for write space was coupled with code that checked for CLOSE and CONN. These checks have been broken out into separate statements to make the code easier to read. Signed-off-by: Tom Tucker Acked-by: Neil Brown Reviewed-by: Chuck Lever Reviewed-by: Greg Banks Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed