]> Git Repo - linux.git/commit
xfs: Increase XFS_QM_TRANS_MAXDQS to 5
authorAllison Henderson <[email protected]>
Mon, 15 Apr 2024 21:55:12 +0000 (14:55 -0700)
committerDarrick J. Wong <[email protected]>
Mon, 15 Apr 2024 21:59:01 +0000 (14:59 -0700)
commitf103df763563ad6849307ed5985d1513acc586dd
tree6fca26e77c2133112950a495c62501afff291da0
parent7560c937b4b5a3c671053be86ff00156a6fdd399
xfs: Increase XFS_QM_TRANS_MAXDQS to 5

With parent pointers enabled, a rename operation can update up to 5
inodes: src_dp, target_dp, src_ip, target_ip and wip.  This causes
their dquots to a be attached to the transaction chain, so we need
to increase XFS_QM_TRANS_MAXDQS.  This patch also add a helper
function xfs_dqlockn to lock an arbitrary number of dquots.

Signed-off-by: Allison Henderson <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_dquot.h
fs/xfs/xfs_qm.h
fs/xfs/xfs_trans_dquot.c
This page took 0.055628 seconds and 4 git commands to generate.