Skip to contentSkip to conversation

another sunrpc locking question

DISCUSSION Ben Greear 1 participant 1 message Jul 1, 2011

Subsystems (4)
lore
Share & tools
lore

Ben Greear

author
#0 lore raw

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

Signature · 7 lines
Ben Greear <greearb-my8/[email protected]>
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html