Whamcloud - gitweb
LU-12535 lov: Move page index to top level
[fs/lustre-release.git] / lustre / lov / lov_cl_internal.h
index 7249f88..b811451 100644 (file)
@@ -312,15 +312,8 @@ struct lov_object {
                         */
                        int             lo_preferred_mirror;
                        /**
-                        * The last mirror that has been read successfully.
-                        * This field is maintained so that subsequent read
-                        * can take the advantage of last retries and avoid
-                        * reading some unavailable OSTs.
-                        */
-                       int             lo_last_read_mirror;
-                       /**
                         * For FLR: the lock to protect access to
-                        * lo_last_read_mirror.
+                        * lo_preferred_mirror.
                         */
                        spinlock_t      lo_write_lock;
                        /**
@@ -444,8 +437,6 @@ struct lov_lock {
 
 struct lov_page {
        struct cl_page_slice    lps_cl;
-       /** layout_entry + stripe index, composed using lov_comp_index() */
-       unsigned int            lps_index;
        /* the layout gen when this page was created */
        __u32                   lps_layout_gen;
 };
@@ -513,7 +504,6 @@ struct lov_io_sub {
         * \see cl_env_get()
         */
        __u16                   sub_refcheck;
-       __u16                   sub_reenter;
 };
 
 /**