Whamcloud - gitweb
LU-2613 recovery: free open/close request promptly
[fs/lustre-release.git] / lustre / include / obd.h
index 121063a..b1115d4 100644 (file)
@@ -1347,10 +1347,11 @@ struct lustre_md {
 };
 
 struct md_open_data {
-        struct obd_client_handle *mod_och;
-        struct ptlrpc_request    *mod_open_req;
-        struct ptlrpc_request    *mod_close_req;
-        cfs_atomic_t              mod_refcount;
+       struct obd_client_handle        *mod_och;
+       struct ptlrpc_request           *mod_open_req;
+       struct ptlrpc_request           *mod_close_req;
+       cfs_atomic_t                     mod_refcount;
+       bool                             mod_is_create;
 };
 
 struct lookup_intent;
@@ -1454,7 +1455,7 @@ struct md_ops {
 
        int (*m_set_open_replay_data)(struct obd_export *,
                                      struct obd_client_handle *,
-                                     struct ptlrpc_request *);
+                                     struct lookup_intent *);
 
        int (*m_clear_open_replay_data)(struct obd_export *,
                                        struct obd_client_handle *);