]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: factor common AIL item deletion code
authorDave Chinner <dchinner@redhat.com>
Wed, 26 Oct 2022 06:28:36 +0000 (11:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 29 Oct 2022 08:20:34 +0000 (10:20 +0200)
commitf3828649577cdc26cf1cc9b3f6a765056fa7cc02
treec42011f65cd6b8d553a8b9c6640f69401c8382bc
parent9f6d95fbe1f424c3aa5a1bfce184ed87c07d7051
xfs: factor common AIL item deletion code

commit 0999bc1e3f793984cc463e8221c7a6d866741bdb upstream.

Factor the common AIL deletion code that does all the wakeups into a
helper so we only have one copy of this somewhat tricky code to
interface with all the wakeups necessary when the LSN of the log
tail changes.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Allison Collins <allison.henderson@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Acked-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_trans_ail.c
fs/xfs/xfs_trans_priv.h