[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-nfsv4
Subject:    Multiples or fast networks devices problems?
From:       bfields () fieldses ! org (J !  Bruce Fields)
Date:       2005-04-15 15:30:14
Message-ID: 20050415193008.GE8612 () fieldses ! org
[Download RAW message or body]

On Fri, Apr 15, 2005 at 08:31:30AM -0700, Trond Myklebust wrote:
> fr den 15.04.2005 Klokka 11:07 (-0400) skreiv J. Bruce Fields:
> 
> > So either we need some way to force rpc_create_client to return without
> > attempting the ping, or we just need to create a new thread to set up
> > the callback channel.
> 
> rpc_new_client() exists in net/sunrpc/clnt.c for this very purpose.
> You'll have to add an EXPORT_SYMBOL() for it, though.

OK, but I thought there was an argument that said it was better to
initiate callback rpc's with a new thread created with kthread_run than
with a random nfsd thread--perhaps because security modules wouldn't
expect nfsd threads to have to make callback rpc's?

--b.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic