xfs: Increase XFS_DEFER_OPS_NR_INODES to 5
authorAllison Henderson <allison.henderson@oracle.com>
Mon, 15 Apr 2024 21:55:11 +0000 (14:55 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:59:01 +0000 (14:59 -0700)
commit7560c937b4b5a3c671053be86ff00156a6fdd399
treef4545da5de2f66501dc12c57085b92ccf9beb3c9
parent67bdcd499909708195b9408c106b94250955c5ff
xfs: Increase XFS_DEFER_OPS_NR_INODES to 5

Renames that generate parent pointer updates can join up to 5
inodes locked in sorted order.  So we need to increase the
number of defer ops inodes and relock them in the same way.

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Catherine Hoang <catherine.hoang@oracle.com>
[djwong: have one sorting function]
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_defer.c
fs/xfs/libxfs/xfs_defer.h
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h