]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: factor out forced iclog flushes
authorDave Chinner <dchinner@redhat.com>
Tue, 27 Jul 2021 23:23:48 +0000 (16:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 29 Jul 2021 16:27:28 +0000 (09:27 -0700)
commit45eddb414047c366744cc60dd6cef7c7e58c6ab9
treebd492bae8324e2cf8e0a7b34b5fdf176f8ab3776
parent0dc8f7f139f07aaca1afcec0ade5718c4ebba91e
xfs: factor out forced iclog flushes

We force iclogs in several places - we need them all to have the
same cache flush semantics, so start by factoring out the iclog
force into a common helper.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_log.c