Whamcloud - gitweb
LU-1095 debug: Send common recovery messages to D_HA
[fs/lustre-release.git] / lustre / include / lu_target.h
index 1ec6e66..4708c75 100644 (file)
@@ -1,6 +1,4 @@
-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
  * GPL HEADER START
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -28,6 +26,8 @@
 /*
  * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright (c) 2011, Whamcloud, Inc.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -67,8 +67,9 @@ struct lut_commit_cb {
 };
 
 void lut_boot_epoch_update(struct lu_target *);
-void lut_cb_last_committed(struct lu_target *, __u64, void *, int);
-void lut_cb_client(struct lu_target *, __u64, void *, int);
+int lut_last_commit_cb_add(struct thandle *th, struct lu_target *lut,
+                           struct obd_export *exp, __u64 transno);
+int lut_new_client_cb_add(struct thandle *th, struct obd_export *exp);
 int lut_init(const struct lu_env *, struct lu_target *,
              struct obd_device *, struct dt_device *);
 void lut_fini(const struct lu_env *, struct lu_target *);