File: md.h

package info (click to toggle)
klibc 2.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,240 kB
  • sloc: ansic: 48,401; asm: 2,531; perl: 789; makefile: 231; sh: 160
file content (32 lines) | stat: -rw-r--r-- 1,033 bytes parent folder | download | duplicates (10)
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
/* ----------------------------------------------------------------------- *
 *
 *   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

#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 */