OpenVZ Forum


Home » Mailing lists » Devel » [PATCH v3 0/4] SUNRPC: several fixes around PipeFS objects
Re: [PATCH v3 1/4] SUNRPC: release per-net clients lock before calling PipeFS dentries creation [message #45356 is a reply to message #45352] Mon, 27 February 2012 18:07 Go to previous messageGo to previous message
Stanislav Kinsbursky is currently offline  Stanislav Kinsbursky
Messages: 683
Registered: October 2011
Senior Member
27.02.2012 22:05, Stanislav Kinsbursky пишет:
> v3:
> 1) Lookup for client is performed from the beginning of the list on each PipeFS
> event handling operation.
>
> Lockdep is sad otherwise, because inode mutex is taken on PipeFS dentry
> creation, which can be called on mount notification, where this per-net client
> lock is taken on clients list walk.
>
> Signed-off-by: Stanislav Kinsbursky<skinsbursky@parallels.com>
>
> ---
> net/sunrpc/clnt.c | 26 +++++++++++++++++++++-----
> 1 files changed, 21 insertions(+), 5 deletions(-)
>
> diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
> index bb7ed2f3..48f3d15 100644
> --- a/net/sunrpc/clnt.c
> +++ b/net/sunrpc/clnt.c
> @@ -50,7 +50,7 @@
> __func__, t->tk_status)
>
> /*
> - * All RPC clients are linked into this list
> + * All RPC clients are linked into this list Client Cto hand;le ustatus is checke
> */
>
> static DECLARE_WAIT_QUEUE_HEAD(destroy_wait);

Sorry for this hunk.

--
Best regards,
Stanislav Kinsbursky
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH v2 0/4] SUNRPC: several fixes around PipeFS objects
Next Topic: Re: [PATCH 10/10] memcg: Document kernel memory accounting.
Goto Forum:
  


Current Time: Sun Aug 17 14:58:33 GMT 2025

Total time taken to generate the page: 0.22835 seconds