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>
This commit is contained in:
Jeff Liu
2013-01-28 21:26:49 +08:00
committed by Ben Myers
부모 f910a8c620
커밋 f0f2df94fa
4개의 변경된 파일17개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@@ -41,6 +41,7 @@ typedef struct xfs_trans_reservations {
uint tr_growrtzero; /* grow realtime zeroing */
uint tr_growrtfree; /* grow realtime freeing */
uint tr_qm_sbchange; /* change quota flags */
uint tr_qm_setqlim; /* adjust quota limits */
} xfs_trans_reservations_t;
#ifndef __KERNEL__