libceph: rados pool namespace support
authorYan, Zheng <zyan@redhat.com>
Sun, 14 Feb 2016 03:24:31 +0000 (11:24 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 28 Jul 2016 00:55:37 +0000 (02:55 +0200)
commit30c156d9951e0aa88202707d80c583b0a09d3167
treeafda9d55374a9b078a5ddd8d5a8c1f2a847eccd5
parent51e9273796a57c08801f45580d3db3c51987a0cb
libceph: rados pool namespace support

Add pool namesapce pointer to struct ceph_file_layout and struct
ceph_object_locator. Pool namespace is used by when mapping object
to PG, it's also used when composing OSD request.

The namespace pointer in struct ceph_file_layout is RCU protected.
So libceph can read namespace without taking lock.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
[idryomov@gmail.com: ceph_oloc_destroy(), misc minor changes]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c
fs/ceph/inode.c
include/linux/ceph/ceph_fs.h
include/linux/ceph/osdmap.h
net/ceph/debugfs.c
net/ceph/osd_client.c
net/ceph/osdmap.c