xfs: calcuate XFS_TRANS_QM_SETQLIM space log reservation at mount time
authorJeff Liu <jeff.liu@oracle.com>
Mon, 28 Jan 2013 13:26:49 +0000 (21:26 +0800)
committerBen Myers <bpm@sgi.com>
Fri, 1 Feb 2013 20:43:11 +0000 (14:43 -0600)
commitf0f2df94faca43fd26f85af7e83df240777c8c37
tree21b0af2cfb1cb7df0a5c4f501d263f96e4af0924
parentf910a8c620e21fdb53384ad741ff9e4995cc6e67
xfs: calcuate XFS_TRANS_QM_SETQLIM space log reservation at mount time

For adjusting quota limits transactions, we calculate out the log space
reservation 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_mount.h
fs/xfs/xfs_qm_syscalls.c
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h