]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/ceph/osd_client.h
libceph: follow redirect replies from osds
[karo-tx-linux.git] / include / linux / ceph / osd_client.h
index 3170ca6d98b28766d53e9fd92ef3935bb931d6de..fd47e872ebcc7a35380160dbf2f83ab1563dd878 100644 (file)
@@ -155,6 +155,8 @@ struct ceph_osd_request {
 
        struct ceph_object_locator r_base_oloc;
        struct ceph_object_id r_base_oid;
+       struct ceph_object_locator r_target_oloc;
+       struct ceph_object_id r_target_oid;
 
        u64               r_snapid;
        unsigned long     r_stamp;            /* send OR check time */
@@ -162,6 +164,10 @@ struct ceph_osd_request {
        struct ceph_snap_context *r_snapc;    /* snap context for writes */
 };
 
+struct ceph_request_redirect {
+       struct ceph_object_locator oloc;
+};
+
 struct ceph_osd_event {
        u64 cookie;
        int one_shot;