diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-12-06 14:23:24 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-12-10 16:25:39 -0500 |
commit | 9dd9845f084cda07ce00cca32a5ba8fbcbbfbcaf (patch) | |
tree | 1746b995da1b4f203373d72a41909b0eebdbecf6 /fs/nfsd/cache.h | |
parent | b9c0ef8571c6ae33465dcf41d496ce2ad783c49d (diff) | |
download | linux-stable-9dd9845f084cda07ce00cca32a5ba8fbcbbfbcaf.tar.gz linux-stable-9dd9845f084cda07ce00cca32a5ba8fbcbbfbcaf.tar.bz2 linux-stable-9dd9845f084cda07ce00cca32a5ba8fbcbbfbcaf.zip |
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>
Diffstat (limited to 'fs/nfsd/cache.h')
0 files changed, 0 insertions, 0 deletions