diff options
author | 2015-06-25 17:47:45 +0300 | |
---|---|---|
committer | 2015-07-09 20:30:34 +0300 | |
commit | 757856d2b9568a701df9ea6a4be68effbb9d6f44 (patch) | |
tree | c6f943fd91a6e1901745f114a1387e98b8031eed /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 4.2-rc1 (diff) | |
download | wireguard-linux-757856d2b9568a701df9ea6a4be68effbb9d6f44.tar.xz wireguard-linux-757856d2b9568a701df9ea6a4be68effbb9d6f44.zip |
libceph: enable ceph in a non-default network namespace
Grab a reference on a network namespace of the 'rbd map' (in case of
rbd) or 'mount' (in case of ceph) process and use that to open sockets
instead of always using init_net and bailing if network namespace is
anything but init_net. Be careful to not share struct ceph_client
instances between different namespaces and don't add any code in the
!CONFIG_NET_NS case.
This is based on a patch from Hong Zhiguo <zhiguohong@tencent.com>.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions