]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67e5403520d775b5d473d25455a7638e40fbd3b3
tree870aee0b516cf2eabe4c5dcfeff4bd50d8cd1e55
parenta1a0474230c6677444c9d9ab6e237ef88471d0b6
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