Whamcloud - gitweb
- landing b_fid.
[fs/lustre-release.git] / lustre / cmobd / cm_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 CM_INTERNAL_H
11 #define CM_INTERNAL_H
12
13 int cmobd_reintegrate(struct obd_device *);
14 int cmobd_dummy_lsm(struct lov_stripe_md **, int, struct obdo*, __u32);
15 void cmobd_free_lsm(struct lov_stripe_md **);
16
17 int cmobd_replay_write(struct obd_device *, struct obdo *, 
18                        struct ldlm_extent *);
19
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*obd, void *record, int opcode);
24 int cmobd_reint_oss(struct obd_device *obd, void *record, int opcode);
25
26 /* methods for updating/reading master lustre_id from local MDS inode EA.*/
27 int mds_update_mid(struct obd_device *obd, struct lustre_id *id,
28                    void *data, int data_len);
29
30 int mds_read_mid(struct obd_device *obd, struct lustre_id *id,
31                  void *data, int data_len);
32
33 #endif /* CM_INTERNAL_H */