Home
last modified time | relevance | path

Searched hist:"9 dd9845f084cda07ce00cca32a5ba8fbcbbfbcaf" (Results 1 – 2 of 2) sorted by relevance

/linux/fs/nfsd/
H A Dnfsctl.cdiff 9dd9845f084cda07ce00cca32a5ba8fbcbbfbcaf Thu Dec 06 12:23:24 CET 2012 Stanislav Kinsbursky <skinsbursky@parallels.com> nfsd: make NFSd service structure allocated per net

This patch makes main step in NFSd containerisation.

There could be different approaches to how to make NFSd able to handle
incoming RPC request from different network namespaces. The two main
options are:

1) Share NFSd kthreads betwween all network namespaces.
2) Create separated pool of threads for each namespace.

While first approach looks more flexible, second one is simpler and
non-racy. This patch implements the second option.

To make it possible to allocate separate pools of threads, we have to
make it possible to allocate separate NFSd service structures per net.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
H A Dnfs4state.cdiff 9dd9845f084cda07ce00cca32a5ba8fbcbbfbcaf Thu Dec 06 12:23:24 CET 2012 Stanislav Kinsbursky <skinsbursky@parallels.com> nfsd: make NFSd service structure allocated per net

This patch makes main step in NFSd containerisation.

There could be different approaches to how to make NFSd able to handle
incoming RPC request from different network namespaces. The two main
options are:

1) Share NFSd kthreads betwween all network namespaces.
2) Create separated pool of threads for each namespace.

While first approach looks more flexible, second one is simpler and
non-racy. This patch implements the second option.

To make it possible to allocate separate pools of threads, we have to
make it possible to allocate separate NFSd service structures per net.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>