xfs: calculate XFS_TRANS_QM_DQALLOC space log reservation at mount time
authorJeff Liu <jeff.liu@oracle.com>
Mon, 28 Jan 2013 13:27:04 +0000 (21:27 +0800)
committerBen Myers <bpm@sgi.com>
Fri, 1 Feb 2013 20:43:51 +0000 (14:43 -0600)
commit4800104438a4467ffa5ae1e51d5a59c0f64e5f9a
tree39472a1139ea146b45b537b924e166fc7dc9a00d
parentf0f2df94faca43fd26f85af7e83df240777c8c37
xfs: calculate XFS_TRANS_QM_DQALLOC space log reservation at mount time

The disk quota allocation log space reservation is calcuated at runtime,
this patch does it 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>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h