On Jan 9, 2014, at 11:26, Dr Fields James Bruce <bfields@xxxxxxxxxxxx> wrote: > On Thu, Jan 09, 2014 at 06:33:10PM +0800, Kinglong Mee wrote: >> Besides checking rpc_xprt out of xs_setup_bc_tcp, >> increase it's reference (it's important). > > This sounds wrong to me: the presence of a backchannel can't prevent the > client's connection from going away. Instead, when the connection dies, > any associated backchannels should be immediately destroyed. Hi Bruce, The right way to deal with this is to have knfsd shut down the rpc_client when it detects the TCP disconnection event. The xprt->count shouldn’t be an issue here: it has nothing to do with the socket connection state. Cheers Trond-- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html