xfs: move log discard work to xfs_discard.c
authorDave Chinner <dchinner@redhat.com>
Tue, 3 Oct 2023 22:24:02 +0000 (09:24 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 3 Oct 2023 22:24:02 +0000 (09:24 +1100)
commit428c4435b063bebc7eddcd7d311546d6933efa62
treee79082326ff243a890e9d09de170d3bf48542a44
parent8a749fd1a8720d4619c91c8b6e7528c0a355c0aa
xfs: move log discard work to xfs_discard.c

Because we are going to use the same list-based discard submission
interface for fstrim-based discards, too.

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