linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* another sunrpc locking question
@ 2011-07-01 19:50 Ben Greear
  0 siblings, 0 replies; only message in thread
From: Ben Greear @ 2011-07-01 19:50 UTC (permalink / raw)
  To: netdev, linux-nfs


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 <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-01 19:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-01 19:50 another sunrpc locking question Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).