~ubuntu-branches/ubuntu/utopic/xfsprogs/utopic-proposed

« back to all changes in this revision

Viewing changes to include/xfs_rtalloc.h

  • Committer: Bazaar Package Importer
  • Author(s): Nathan Scott
  • Date: 2009-05-06 11:29:18 UTC
  • mfrom: (8.1.1 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090506112918-uzoyzcp90rtr8td7
Tags: 3.0.2
New bugfix release

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
struct xfs_mount;
22
22
struct xfs_trans;
23
23
 
24
 
#define XFS_IS_REALTIME_INODE(ip) ((ip)->i_d.di_flags & XFS_DIFLAG_REALTIME)
25
 
 
26
24
/* Min and max rt extent sizes, specified in bytes */
27
25
#define XFS_MAX_RTEXTSIZE       (1024 * 1024 * 1024)    /* 1GB */
 
26
#define XFS_DFL_RTEXTSIZE       (64 * 1024)             /* 64KB */
28
27
#define XFS_MIN_RTEXTSIZE       (4 * 1024)              /* 4KB */
29
28
 
30
29
/*
133
132
        xfs_rtblock_t           *pick); /* result rt extent */
134
133
 
135
134
/*
136
 
 * Debug code: print out the value of a range in the bitmap.
137
 
 */
138
 
void
139
 
xfs_rtprint_range(
140
 
        struct xfs_mount        *mp,    /* file system mount structure */
141
 
        struct xfs_trans        *tp,    /* transaction pointer */
142
 
        xfs_rtblock_t           start,  /* starting block to print */
143
 
        xfs_extlen_t            len);   /* length to print */
144
 
 
145
 
/*
146
 
 * Debug code: print the summary file.
147
 
 */
148
 
void
149
 
xfs_rtprint_summary(
150
 
        struct xfs_mount        *mp,    /* file system mount structure */
151
 
        struct xfs_trans        *tp);   /* transaction pointer */
152
 
 
153
 
/*
154
135
 * Grow the realtime area of the filesystem.
155
136
 */
156
137
int