Whamcloud - gitweb
merge b_devel into HEAD (20030703)
[fs/lustre-release.git] / lustre / llite / llite_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 LLITE_INTERNAL_H
11 #define LLITE_INTERNAL_H
12
13 struct lustre_handle;
14 struct lov_stripe_md;
15
16 int ll_mdc_cancel_unused(struct lustre_handle *conn, struct inode *inode,
17                          int flags, void *opaque);
18 int ll_rd_dirty_pages(char *page, char **start, off_t off, int count,
19                       int *eof, void *data);
20 int ll_rd_max_dirty_pages(char *page, char **start, off_t off, int count,
21                           int *eof, void *data);
22 int ll_wr_max_dirty_pages(struct file *file, const char *buffer,
23                           unsigned long count, void *data);
24 int ll_clear_dirty_pages(struct lustre_handle *conn, struct lov_stripe_md *lsm,
25                          unsigned long start, unsigned long end);
26 int ll_mark_dirty_page(struct lustre_handle *conn, struct lov_stripe_md *lsm,
27                        unsigned long index);
28
29 #endif /* LLITE_INTERNAL_H */