|
@@ -838,17 +838,18 @@ xfs_init_mount_workqueues(
|
|
|
goto out_destroy_unwritten;
|
|
|
|
|
|
mp->m_reclaim_workqueue = alloc_workqueue("xfs-reclaim/%s",
|
|
|
- WQ_FREEZABLE, 0, mp->m_fsname);
|
|
|
+ WQ_MEM_RECLAIM|WQ_FREEZABLE, 0, mp->m_fsname);
|
|
|
if (!mp->m_reclaim_workqueue)
|
|
|
goto out_destroy_cil;
|
|
|
|
|
|
mp->m_log_workqueue = alloc_workqueue("xfs-log/%s",
|
|
|
- WQ_FREEZABLE|WQ_HIGHPRI, 0, mp->m_fsname);
|
|
|
+ WQ_MEM_RECLAIM|WQ_FREEZABLE|WQ_HIGHPRI, 0,
|
|
|
+ mp->m_fsname);
|
|
|
if (!mp->m_log_workqueue)
|
|
|
goto out_destroy_reclaim;
|
|
|
|
|
|
mp->m_eofblocks_workqueue = alloc_workqueue("xfs-eofblocks/%s",
|
|
|
- WQ_FREEZABLE, 0, mp->m_fsname);
|
|
|
+ WQ_MEM_RECLAIM|WQ_FREEZABLE, 0, mp->m_fsname);
|
|
|
if (!mp->m_eofblocks_workqueue)
|
|
|
goto out_destroy_log;
|
|
|
|