lkml.org 
[lkml]   [2010]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 00/12] make rpc_pipefs be mountable multiple times
    From
    Date
    On Wed, 2010-12-22 at 01:32 +0200, Kirill A. Shutemov wrote:
    > On Mon, Dec 20, 2010 at 09:46:44AM -0500, J. Bruce Fields wrote:
    > > By the way, was there ever a resolution to Trond's question?:
    > >
    > > http://marc.info/?l=linux-nfs&m=128655758712817&w=2
    > >
    > > "The keyring upcalls are currently initiated through the same
    > > mechanism as module_request and therefore get started with the
    > > init_nsproxy namespace. We'd really like them to run inside the
    > > same container as the process. As part of the same problem,
    > > there is the issue of what to do with the dns resolver and
    > > Bryan's new keyring based idmapper code."
    >
    > I'm not sure that I understand the problem correctly.
    >
    > Currently, idmap uses dentry taken from client's cl_rpcclient->cl_path
    > (see nfs_idmap_new()). cl_rpcclient (and cl_path) is initialized with
    > rpcmount resolved against mount namespace of mount process (see
    > nfs_create_rpc_client()).
    > I assume it's correct.

    That would be the legacy idmapper mechanism.

    Please see CONFIG_NFS_USE_NEW_IDMAPPER, which uses the keyring upcall
    mechanism for greater scalability.


    Cheers
    Trond
    --
    Trond Myklebust
    Linux NFS client maintainer

    NetApp
    Trond.Myklebust@netapp.com
    www.netapp.com



    \
     
     \ /
      Last update: 2010-12-22 00:45    [W:0.026 / U:0.176 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site