Whamcloud - gitweb
b=11691
[fs/lustre-release.git] / lustre / include / obd_ost.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  *
4  *   This file is part of Lustre, http://www.lustre.org
5  *
6  * Data structures for object storage targets and client: OST & OSC's
7  * 
8  * See also lustre_idl.h for wire formats of requests.
9  */
10
11 #ifndef _LUSTRE_OST_H
12 #define _LUSTRE_OST_H
13
14 #include <obd_class.h>
15
16 struct osc_brw_async_args {
17         struct obdo     *aa_oa;
18         int              aa_requested_nob;
19         int              aa_nio_count;
20         obd_count        aa_page_count;
21         int              aa_retries;
22         struct brw_page **aa_ppga;
23         struct client_obd *aa_cli;
24         struct list_head aa_oaps;
25 };
26
27 struct osc_async_args {
28         struct obd_info   *aa_oi;
29 };
30
31 struct osc_enqueue_args {
32         struct obd_export       *oa_exp;
33         struct obd_info         *oa_oi;
34         struct obd_enqueue_info *oa_ei;
35 };
36
37 #endif