On Fri, 2008-01-11 at 12:07 +1100, Neil Brown wrote: > The only fix that occurs to me is to use schedule_work to shunt the > rpc_shutdown_client into a separate thread.
Well. Instead of rpc_shutdown_client() you could use rpc_release_client() in order to have the last RPC caller destroy the client when the last rpc_task exits. The problem then is that you lose the guarantee that all RPC tasks must complete before you free structures such as the nfs_server... Cheers Trond - To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html