~ubuntu-branches/ubuntu/hoary/xfsprogs/hoary

« back to all changes in this revision

Viewing changes to libdisk/evms.h

  • Committer: Bazaar Package Importer
  • Author(s): Nathan Scott
  • Date: 2004-07-28 21:11:38 UTC
  • Revision ID: james.westby@ubuntu.com-20040728211138-0v4pdnunnp7na5lm
Tags: 2.6.20-1
* New upstream release.
* Fix xfs_io segfault on non-XFS files.  (closes: #260470)
* Fix packaging botch, deleted files included.  (closes: #260491)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *   Copyright (c) International Business Machines  Corp., 2002
 
3
 *
 
4
 *   This program is free software;  you can redistribute it and/or modify
 
5
 *   it under the terms of the GNU General Public License as published by
 
6
 *   the Free Software Foundation; either version 2 of the License, or
 
7
 *   (at your option) any later version.
 
8
 *
 
9
 *   This program is distributed in the hope that it will be useful,
 
10
 *   but WITHOUT ANY WARRANTY;  without even the implied warranty of
 
11
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
 
12
 *   the GNU General Public License for more details.
 
13
 *
 
14
 *   You should have received a copy of the GNU General Public License
 
15
 *   along with this program;  if not, write to the Free Software
 
16
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
17
 */
 
18
 
 
19
#define EVMS_MAJOR                      117
 
20
#define EVMS_GET_VOL_STRIPE_INFO        \
 
21
                _IOR(EVMS_MAJOR, 0xF0, struct evms_vol_stripe_info_s)
 
22
 
 
23
/*
 
24
 * struct evms_vol_stripe_info_s - contains stripe information for a volume
 
25
 *
 
26
 * unit: the stripe unit specified in 512 byte block units
 
27
 * width: the number of stripe members or RAID data disks
 
28
 */
 
29
typedef struct evms_vol_stripe_info_s {
 
30
        u_int32_t       size;
 
31
        u_int32_t       width;
 
32
} evms_vol_stripe_info_t;