• Y
    libceph: rados pool namespace support · 30c156d9
    Yan, Zheng 提交于
    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: NYan, Zheng <zyan@redhat.com>
    [idryomov@gmail.com: ceph_oloc_destroy(), misc minor changes]
    Signed-off-by: NIlya Dryomov <idryomov@gmail.com>
    30c156d9
ceph_fs.h 24.0 KB