Whamcloud - gitweb
LU-4906 llite: read page from LMV/MDC for readdir
[fs/lustre-release.git] / lustre / include / obd.h
index 1007438..f8255d0 100644 (file)
@@ -857,13 +857,6 @@ struct md_op_data {
        enum mds_op_bias        op_bias;
 
        /* Used by readdir */
-       __u64                   op_hash_offset;
-
-       /* The offset of dir entry among the same hash entries, which
-        * is used to resolve the hash conflict. */
-       __u32                   op_same_hash_offset;
-
-       /* Used by readdir */
        __u32                   op_npages;
 
        /* used to transfer info between the stacks of MD client
@@ -1099,9 +1092,9 @@ struct md_ops {
        int (*m_fsync)(struct obd_export *, const struct lu_fid *,
                       struct obd_capa *, struct ptlrpc_request **);
 
-       int (*m_read_entry)(struct obd_export *, struct md_op_data *,
-                           struct md_callback *cb_op, struct lu_dirent **ld,
-                           struct page **ppage);
+       int (*m_read_page)(struct obd_export *, struct md_op_data *,
+                          struct md_callback *cb_op, __u64 hash_offset,
+                          struct page **ppage);
 
        int (*m_unlink)(struct obd_export *, struct md_op_data *,
                        struct ptlrpc_request **);