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

« back to all changes in this revision

Viewing changes to libdisk/xvm.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
1
/*
2
 
 * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
 
2
 * Copyright (c) 2000-2001 Silicon Graphics, Inc.  All Rights Reserved.
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify it
5
5
 * under the terms of version 2 of the GNU General Public License as
40
40
 * numbers.
41
41
 */
42
42
#define XVM_GETDEV_VERS 1
 
43
 
 
44
typedef __uint32_t xvm_dev_t;
 
45
 
43
46
typedef struct {
44
 
        __uint32_t              version;
45
 
        dev_t                   data_subvol_dev;
46
 
 
47
 
        dev_t                   log_subvol_dev;
48
 
        dev_t                   rt_subvol_dev;
49
 
 
50
 
        dev_t                   sp_subvol_dev;
 
47
        __uint32_t              version;
 
48
        xvm_dev_t               data_subvol_dev;
 
49
 
 
50
        xvm_dev_t               log_subvol_dev;
 
51
        xvm_dev_t               rt_subvol_dev;
 
52
 
 
53
        xvm_dev_t               sp_subvol_dev;
51
54
} xvm_getdev_t;
52
55
 
53
56
/*
56
59
 */
57
60
#define XVM_SUBVOL_GEOMETRY_VERS  1
58
61
typedef struct xvm_subvol_stripe_s {
59
 
        __uint32_t              version;
60
 
        __uint32_t              unit_size;      /* in blocks */
61
 
        __uint32_t              width_size;     /* in blocks */
 
62
        __uint32_t              version;
 
63
        __uint32_t              unit_size;      /* in blocks */
 
64
        __uint32_t              width_size;     /* in blocks */
62
65
        __uint32_t              pad1;           /* padding */
63
 
        dev_t                   dev;
 
66
        xvm_dev_t               dev;
64
67
} xvm_subvol_stripe_t;
65