From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.candelatech.com ([208.74.158.172]:34567 "EHLO ns3.lanforge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751921Ab1GATuD (ORCPT ); Fri, 1 Jul 2011 15:50:03 -0400 Message-ID: <4E0E24EA.20300@candelatech.com> Date: Fri, 01 Jul 2011 12:50:02 -0700 From: Ben Greear To: netdev , linux-nfs@vger.kernel.org Subject: another sunrpc locking question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 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