* 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-u79uwXL29TY76Z2rM5mHXA
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-my8/4N5VtI7c+919tysfdA@public•gmane.org>
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
^ 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