All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS client virtualization plan
@ 2011-08-16 11:00 Stanislav Kinsbursky
  2011-08-16 11:08 ` Stanislav Kinsbursky
  2011-08-18 15:54 ` Chuck Lever
  0 siblings, 2 replies; 11+ messages in thread
From: Stanislav Kinsbursky @ 2011-08-16 11:00 UTC (permalink / raw)
  To: Pavel Emelianov, linux-nfs@vger.kernel.org

Hello.
I'm going to virtualize NFS in mainline and here is my plan for NFS client part.
Any suggestions or criticism are welcome.

==============================================================================

"NFS client" virtualization plan:

_RPC layer_:

1) Make rpcbind clients (rpcb_local_clnt and rpcb_local4_clnt) to be
per net namespace.

_NFS layer_:

1) Net namespace inheritance (current->nsproxy->net have to be used instead
of init_net).
Pointer to net namespace can be stored on nfs_client structure, which will
give easy access to proper net namespace during RPC transports creation.

2) Make Lockd kthread able to handle requests from different net namespaces.

3) Make NFS callbacks kthreads (nfs4_callback_svc and nfs4.1_callback_svc) able
to handle requests from different net namespaces.

4) Make NFS info lists (nfs_volume_list and nfs_client_list) to be per
net namespace in addition to global ones.

5) Make NFS proc variables and it's internal content variables to be per
net namespace in addition to global ones.

6) Make NFS sysctl variables and it's internal content variables to be per
net namespace in addition to global ones.



-- 
Best regards,
Stanislav Kinsbursky

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-08-22 18:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-16 11:00 NFS client virtualization plan Stanislav Kinsbursky
2011-08-16 11:08 ` Stanislav Kinsbursky
2011-08-16 11:59   ` Ben Greear
2011-08-16 12:19     ` Stanislav Kinsbursky
2011-08-18 15:54 ` Chuck Lever
2011-08-19  9:46   ` Stanislav Kinsbursky
2011-08-19 16:12     ` Chuck Lever
2011-08-19 17:21       ` Stanislav Kinsbursky
2011-08-19 19:32         ` J. Bruce Fields
2011-08-22 17:30           ` Stanislav Kinsbursky
2011-08-22 18:54             ` Jim Rees

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.