Whamcloud - gitweb
last compile fixes: WARNING nothing works probably.
[fs/lustre-release.git] / lustre / include / linux / obd_lov.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  */
4
5 #ifndef _OBD_LOV_H__
6 #define _OBD_LOV_H__
7
8 #ifdef __KERNEL__
9
10 #define OBD_LOV_DEVICENAME "lov"
11
12 struct lov_object_id { /* per-child structure */
13         __u64 l_object_id;
14         __u32 l_device_id;
15 };
16
17 struct lov_md {
18         __u64 lmd_object_id;     /* lov object id */
19         __u64 lmd_stripe_count;
20         __u32 lmd_stripe_size;
21         __u32 lmd_stripe_pattern;  /* per-lov object stripe pattern */
22         struct lov_object_id lmd_objects[0];
23 };
24
25 #endif
26 #endif