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-02-14 23:08:44 +01:00
2015-07-04 19:36:06 -07:00
2015-03-02 16:43:41 -05:00
2015-06-01 16:50:52 -07:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-06-28 16:55:44 -07:00
2015-06-07 17:07:20 +02:00
2015-07-04 19:11:33 -07:00
2015-06-24 16:49:49 -07:00
2015-06-01 22:51:30 -07:00
2015-06-24 02:58:51 -07:00
2015-07-09 20:30:34 +03:00
2015-06-30 10:00:26 -07:00
2015-03-06 21:50:02 -05:00
2015-06-15 19:49:22 -07:00
2015-05-11 10:50:17 -04:00
2015-06-28 16:57:08 -07:00
2015-06-04 15:44:30 -07:00
2015-03-01 13:40:23 -05:00
2015-06-04 12:27:15 +02:00
2015-07-02 10:36:29 -07:00
2015-06-24 16:49:49 -07:00
2015-05-11 10:50:17 -04:00
2015-05-25 17:46:21 -04:00
2015-05-11 10:50:17 -04:00
2015-06-24 16:49:49 -07:00
2015-05-11 10:50:18 -04:00
2014-10-24 15:51:42 -04:00
2015-05-11 10:50:17 -04:00
2015-07-01 10:49:25 -07:00
2015-06-24 16:49:49 -07:00
2015-06-13 23:56:52 -07:00
2015-06-23 06:23:23 -07:00
2015-03-31 13:58:35 -04:00
2015-06-21 10:18:18 -07:00
2015-06-18 21:14:32 +02:00
2015-06-15 18:10:37 +02:00
2015-06-08 20:06:56 -07:00
2015-06-24 02:58:51 -07:00
2015-05-11 10:50:17 -04:00
2015-06-24 16:49:49 -07:00
2015-05-29 13:13:45 +02:00
2015-06-24 02:58:51 -07:00
2015-05-11 10:50:17 -04:00
2015-06-25 05:23:02 -07:00
2015-06-29 09:28:42 -07:00
2015-07-02 11:32:23 -07:00
2015-06-24 01:06:34 -07:00
2015-06-28 16:43:02 -07:00
2015-06-10 22:49:20 -07:00
2015-05-11 10:50:17 -04:00
2015-06-13 23:56:52 -07:00
2015-05-11 10:50:17 -04:00
2015-06-24 16:49:49 -07:00
2015-04-09 00:02:26 -04:00
2015-05-14 01:10:05 -04:00
2015-03-04 00:26:06 -05:00
2015-05-11 10:50:17 -04:00