From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Greear Subject: another sunrpc locking question Date: Fri, 01 Jul 2011 12:50:02 -0700 Message-ID: <4E0E24EA.20300@candelatech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: netdev , linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Return-path: Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org It seems that the rpc_shutdown_client logic grabs a clnt->cl_lock lock, and then in the rpc_exit logic it writes to the task->tk_action. But, I don't see anything keeping that from racing with the __rpc_execute() logic, which might also be modifying the task object without any locks held. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html