blob: 63be3d88f2cc3614bdacbb62f231fd1a28eec2cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/* ----------------------------------------------------------------------- *
*
* Copyright 2006 H. Peter Anvin - All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, Inc., 53 Temple Place Ste 330,
* Boston MA 02111-1307, USA; either version 2 of the License, or
* (at your option) any later version; incorporated herein by reference.
*
* ----------------------------------------------------------------------- */
/*
* sys/md.h
*
* Defines for the Linux md functionality. Some of this stuff is
* userspace-visible but lives in md_k.h, which is user-space unsafe.
* Sigh.
*/
#ifndef _SYS_MD_H
#define _SYS_MD_H
#include <sys/types.h>
#define LEVEL_MULTIPATH (-4)
#define LEVEL_LINEAR (-1)
#define LEVEL_FAULTY (-5)
#define MAX_MD_DEVS 256 /* Max number of md dev */
#include <linux/raid/md_u.h>
#include <linux/raid/md_p.h>
#endif /* _SYS_MD_H */
|