]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: calculate xfs_qm_write_sb_changes() space log reservation at mount time
authorJeff Liu <jeff.liu@oracle.com>
Mon, 28 Jan 2013 13:26:34 +0000 (21:26 +0800)
committerBen Myers <bpm@sgi.com>
Fri, 1 Feb 2013 20:42:32 +0000 (14:42 -0600)
commit984d502ffc38d69e4e9171d7242394c8a2fe596e
tree402e2a42dc99b6bdac604e61c64ab7971ae19637
parentd39d9c5e51fcca34f35e09e93924d16ebcb599fb
xfs: calculate xfs_qm_write_sb_changes() space log reservation at mount time

For the transaction that write the incore superblock changes of quota flags
to disk, it would reserve the same log space to clear/reset quota flags
transaction, hence we can use XFS_TRANS_SBCHANGE_LOG_RES() for it as well.

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_qm.c