diff options
author | Jeff Liu <jeff.liu@oracle.com> | 2013-01-28 21:26:16 +0800 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-02-01 14:40:17 -0600 |
commit | b0c10b983a3e5cc35f239999df1b8bad1ba5b8f6 (patch) | |
tree | 78c41025c277a87c1baea6eb2990572fdfb7bb70 /fs/xfs/xfs_mount.h | |
parent | 5b292ae3a951a58e32119d73c7ac8f5bec7395a3 (diff) | |
download | linux-b0c10b983a3e5cc35f239999df1b8bad1ba5b8f6.tar.gz linux-b0c10b983a3e5cc35f239999df1b8bad1ba5b8f6.tar.bz2 linux-b0c10b983a3e5cc35f239999df1b8bad1ba5b8f6.zip |
xfs: calculate XFS_TRANS_QM_SBCHANGE space log reservation at mount time
The transaction log space for clearing/reseting the quota flags
is calculated out at runtime, this patch can figure it out at
mount time.
Signed-off-by: Jie Liu <jeff.liu@oracle.com>
CC: Dave Chinner <david@fromorbit.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index bab8314507e4..4e9aa9524840 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h @@ -40,6 +40,7 @@ typedef struct xfs_trans_reservations { uint tr_growrtalloc; /* grow realtime allocations */ uint tr_growrtzero; /* grow realtime zeroing */ uint tr_growrtfree; /* grow realtime freeing */ + uint tr_qm_sbchange; /* change quota flags */ } xfs_trans_reservations_t; #ifndef __KERNEL__ |