Whamcloud - gitweb
landing b_cmobd_merge on HEAD
[fs/lustre-release.git] / lustre / cmobd / cmobd_internal.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  *
4  * Copyright (C) 2003 Cluster File Systems, Inc.
5  *
6  * This code is issued under the GNU General Public License.
7  * See the file COPYING in this distribution
8  */
9
10 #ifndef CMOBD_INTERNAL_H
11 #define CMOBD_INTERNAL_H
12
13 /* cmobd_reint.c */
14 int cmobd_reintegrate(struct obd_device *);
15 int cmobd_dummy_lsm(struct lov_stripe_md **, int, struct obdo*, __u32);
16 void cmobd_free_lsm(struct lov_stripe_md **);
17
18 /* cmobd_write.c */
19 int cmobd_replay_write(struct obd_device *, struct obdo*, struct ldlm_extent *);
20 int cmobd_init_write_srv(struct obd_device *);
21 void cmobd_cleanup_write_srv(struct obd_device *);
22
23 int cmobd_reint_mds(struct obd_device*, void *record);
24 int cmobd_reint_setattr(struct obd_device *obd, void *rec);
25 int cmobd_reint_create(struct obd_device *obd, void *rec);
26 int cmobd_reint_write(struct obd_device *obd, void *rec);
27
28 #endif /* CMOBD_INTERNAL_H */