• Yan, Zheng's avatar
    libceph: rados pool namespace support · 30c156d9
    Yan, Zheng authored
    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: default avatarYan, Zheng <zyan@redhat.com>
    [idryomov@gmail.com: ceph_oloc_destroy(), misc minor changes]
    Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
    30c156d9
debugfs.c 9.91 KB