xfs: move the log ioend workqueue to struct xlog
authorChristoph Hellwig <hch@lst.de>
Sat, 29 Jun 2019 02:27:25 +0000 (19:27 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 29 Jun 2019 02:27:25 +0000 (19:27 -0700)
commit1058d0f5eeb422325e2574dbd88927dc821dee57
tree870aee0b516cf2eabe4c5dcfeff4bd50d8cd1e55
parent79b54d9bfcdcd0a431bb3501013885f8f00cdb43
xfs: move the log ioend workqueue to struct xlog

Move the workqueue used for log I/O completions from struct xfs_mount
to struct xlog to keep it self contained in the log code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
[darrick: destroy the log workqueue after ensuring log ios are done]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_priv.h
fs/xfs/xfs_mount.h
fs/xfs/xfs_super.c