android_kernel_msm-6.1_noth.../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
ceph_frag.h
ceph_fs.h
ceph_hash.h
debugfs.h
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
osdmap.h
pagelist.h
rados.h
types.h