Ilya Dryomov 757856d2b9 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>
2015-07-09 20:30:34 +03:00
..
2015-03-02 16:43:41 -05:00
2015-06-28 16:55:44 -07:00
2015-07-04 19:11:33 -07:00
2015-03-06 21:50:02 -05:00
2015-06-25 05:23:02 -07:00
2015-07-02 11:32:23 -07:00
2014-10-07 20:28:44 -04:00