2
* Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of version 2 of the GNU General Public License as
6
* published by the Free Software Foundation.
8
* This program is distributed in the hope that it would be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
* Further, this software is distributed without any warranty that it is
13
* free of the rightful claim of any third person regarding infringement
14
* or the like. Any license provided herein, whether implied or
15
* otherwise, applies only to this software file. Patent licenses, if
16
* any, provided herein do not apply to combinations of this program with
17
* other software, or any other product whatsoever.
19
* You should have received a copy of the GNU General Public License along
20
* with this program; if not, write the Free Software Foundation, Inc., 59
21
* Temple Place - Suite 330, Boston MA 02111-1307, USA.
23
* Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
24
* Mountain View, CA 94043, or:
28
* For further information regarding this notice, see:
30
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
36
* Subvolume Types for all volume managers.
38
* There is a maximum of 255 subvolumes. 0 is reserved.
39
* Note: SVTYPE_LOG, SVTYPE_DATA, SVTYPE_RT values matches XLV.
40
* Do not change - Colin Ngam
42
typedef enum sv_type_e {
43
SVTYPE_ALL =0, /* special: denotes all sv's */
44
SVTYPE_LOG =1, /* XVM Log subvol type */
45
SVTYPE_DATA, /* XVM Data subvol type */
46
SVTYPE_RT, /* XVM Real Time subvol type */
47
SVTYPE_SWAP, /* swap area */
48
SVTYPE_RSVD5, /* reserved 5 */
49
SVTYPE_RSVD6, /* reserved 6 */
50
SVTYPE_RSVD7, /* reserved 7 */
51
SVTYPE_RSVD8, /* reserved 8 */
52
SVTYPE_RSVD9, /* reserved 9 */
53
SVTYPE_RSVD10, /* reserved 10 */
54
SVTYPE_RSVD11, /* reserved 11 */
55
SVTYPE_RSVD12, /* reserved 12 */
56
SVTYPE_RSVD13, /* reserved 13 */
57
SVTYPE_RSVD14, /* reserved 14 */
58
SVTYPE_RSVD15, /* reserved 15 */
59
SVTYPE_USER1, /* First User Defined Subvol Type */
63
extern void get_subvol_stripe_wrapper (char *, sv_type_t, int *, int *);
64
extern int get_driver_block_major (const char *);
66
#endif /* __VOLUME_H__ */