]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: Increase XFS_DEFER_OPS_NR_INODES to 5
authorAllison Henderson <allison.henderson@oracle.com>
Mon, 29 Jul 2024 23:22:40 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:00 +0000 (17:01 -0700)
commit28fa72416aacfa0b93f4be94249cf33c7f22bc6b
tree3f242d062e2551b310d867c47dae2f82ea99e8c8
parent7bde36b0617bccc2cd97571952941b272a80a479
xfs: Increase XFS_DEFER_OPS_NR_INODES to 5

Source kernel commit: 7560c937b4b5a3c671053be86ff00156a6fdd399

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>
libxfs/libxfs_priv.h
libxfs/xfs_defer.c
libxfs/xfs_defer.h