summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_qm.c
diff options
context:
space:
mode:
authorAllison Henderson <allison.henderson@oracle.com>2024-04-16 00:55:12 +0300
committerDarrick J. Wong <djwong@kernel.org>2024-04-16 00:59:01 +0300
commitf103df763563ad6849307ed5985d1513acc586dd (patch)
tree6fca26e77c2133112950a495c62501afff291da0 /fs/xfs/xfs_qm.c
parent7560c937b4b5a3c671053be86ff00156a6fdd399 (diff)
downloadlinux-f103df763563ad6849307ed5985d1513acc586dd.tar.xz
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 <allison.henderson@oracle.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_qm.c')
0 files changed, 0 insertions, 0 deletions