Whamcloud - gitweb
LU-10810 ptlrpc: introduce OST_SEEK RPC
[fs/lustre-release.git] / lustre / include / lu_target.h
index e16e5bc..97ba236 100644 (file)
@@ -439,13 +439,13 @@ void tgt_io_thread_done(struct ptlrpc_thread *thread);
 
 int tgt_mdt_data_lock(struct ldlm_namespace *ns, struct ldlm_res_id *res_id,
                      struct lustre_handle *lh, int mode, __u64 *flags);
-void tgt_mdt_data_unlock(struct lustre_handle *lh, enum ldlm_mode mode);
 int tgt_extent_lock(const struct lu_env *env, struct ldlm_namespace *ns,
                    struct ldlm_res_id *res_id, __u64 start, __u64 end,
                    struct lustre_handle *lh, int mode, __u64 *flags);
-void tgt_extent_unlock(struct lustre_handle *lh, enum ldlm_mode mode);
+void tgt_data_unlock(struct lustre_handle *lh, enum ldlm_mode mode);
 int tgt_brw_read(struct tgt_session_info *tsi);
 int tgt_brw_write(struct tgt_session_info *tsi);
+int tgt_lseek(struct tgt_session_info *tsi);
 int tgt_hpreq_handler(struct ptlrpc_request *req);
 void tgt_register_lfsck_in_notify_local(int (*notify)(const struct lu_env *,
                                                      struct dt_device *,