diff options
| author | Brian Foster <[email protected]> | 2014-12-03 22:43:17 +0000 |
|---|---|---|
| committer | Dave Chinner <[email protected]> | 2014-12-03 22:43:17 +0000 |
| commit | b29c70f59870dad0945b0e0b3fe3758ad528e268 (patch) | |
| tree | 8b78cac19312a4619b68f826eb6f124c62a36a10 /drivers/net/xen-netback/interface.c | |
| parent | xfs: fix set-but-unused warnings (diff) | |
| download | kernel-b29c70f59870dad0945b0e0b3fe3758ad528e268.tar.gz kernel-b29c70f59870dad0945b0e0b3fe3758ad528e268.zip | |
xfs: split metadata and log buffer completion to separate workqueues
XFS traditionally sends all buffer I/O completion work to a single
workqueue. This includes metadata buffer completion and log buffer
completion. The log buffer completion requires a high priority queue to
prevent stalls due to log forces getting stuck behind other queued work.
Rather than continue to prioritize all buffer I/O completion due to the
needs of log completion, split log buffer completion off to
m_log_workqueue and move the high priority flag from m_buf_workqueue to
m_log_workqueue.
Add a b_ioend_wq wq pointer to xfs_buf to allow completion workqueue
customization on a per-buffer basis. Initialize b_ioend_wq to
m_buf_workqueue by default in the generic buffer I/O submission path.
Finally, override the default wq with the high priority m_log_workqueue
in the log buffer I/O submission path.
Signed-off-by: Brian Foster <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
