switch-linux/include/linux/ceph
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
..
auth.h
buffer.h
ceph_debug.h
ceph_features.h libceph: announce support for straw2 buckets 2015-04-22 18:33:48 +03:00
ceph_frag.h
ceph_fs.h ceph: rename snapshot support 2015-04-22 18:33:41 +03:00
ceph_hash.h
debugfs.h libceph: simplify our debugfs attr macro 2015-04-20 18:55:39 +03:00
decode.h
libceph.h ceph: pre-allocate data structure that tracks caps flushing 2015-06-25 11:49:31 +03:00
mdsmap.h
messenger.h libceph: enable ceph in a non-default network namespace 2015-07-09 20:30:34 +03:00
mon_client.h
msgpool.h
msgr.h
osd_client.h libceph: allow setting osd_req_op's flags 2015-06-25 11:49:27 +03:00
osdmap.h
pagelist.h
rados.h
types.h