]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: calculate XFS_TRANS_QM_SBCHANGE space log reservation at mount time
authorJeff Liu <jeff.liu@oracle.com>
Mon, 28 Jan 2013 13:26:16 +0000 (21:26 +0800)
committerBen Myers <bpm@sgi.com>
Fri, 1 Feb 2013 20:40:17 +0000 (14:40 -0600)
commitd39d9c5e51fcca34f35e09e93924d16ebcb599fb
tree78c41025c277a87c1baea6eb2990572fdfb7bb70
parente402942c10fcd77e5b712615376091c11deea7c1
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>
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h