1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
4 * Copyright (C) 2002, 2003, 2004 Cluster File Systems, Inc.
6 * This file is part of Lustre, http://www.lustre.org.
8 * Lustre is free software; you can redistribute it and/or
9 * modify it under the terms of version 2 of the GNU General Public
10 * License as published by the Free Software Foundation.
12 * Lustre is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Lustre; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 int cmobd_reintegrate(struct obd_device *);
26 int cmobd_dummy_lsm(struct lov_stripe_md **, int, struct obdo*, __u32);
27 void cmobd_free_lsm(struct lov_stripe_md **);
29 int cmobd_replay_write(struct obd_device *, struct obdo *,
30 struct ldlm_extent *);
32 int cmobd_init_write_srv(struct obd_device *);
33 void cmobd_cleanup_write_srv(struct obd_device *);
35 int cmobd_reint_mds(struct obd_device*obd, void *record, int opcode);
36 int cmobd_reint_oss(struct obd_device *obd, void *record, int opcode);
38 /* methods for updating/reading master lustre_id from local MDS inode EA.*/
39 int mds_update_mid(struct obd_device *obd, struct lustre_id *id,
40 void *data, int data_len);
42 int mds_read_mid(struct obd_device *obd, struct lustre_id *id,
43 void *data, int data_len);
45 #endif /* CM_INTERNAL_H */