]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: lift init CIL reservation out of xc_cil_lock
authorDave Chinner <dchinner@redhat.com>
Fri, 1 Jul 2022 16:11:52 +0000 (02:11 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 1 Jul 2022 16:11:52 +0000 (02:11 +1000)
commitdf00bec55a948030210ca4b97a36a9d38ac25b53
tree01aaf6b84715c8f4a4b2c14b6953f42e0a9aa524
parent4759c995169b7a7f6dc4d73036c1295861c5dbde
xfs: lift init CIL reservation out of xc_cil_lock

The xc_cil_lock is the most highly contended lock in XFS now. To
start the process of getting rid of it, lift the initial reservation
of the CIL log space out from under the xc_cil_lock.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_log_cil.c