diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2010-11-03 20:58:53 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2010-11-30 11:21:55 +0100 |
commit | d2115778c7ea0df2201f1ad9aab948c49ffa1078 (patch) | |
tree | d987b54d5a982e58ce4ae7c4ec8a32a04cddd367 /fs/gfs2/glock.c | |
parent | Linux 2.6.37-rc4 (diff) | |
download | linux-d2115778c7ea0df2201f1ad9aab948c49ffa1078.tar.xz linux-d2115778c7ea0df2201f1ad9aab948c49ffa1078.zip |
GFS2: Change two WQ_RESCUERs into WQ_MEM_RECLAIM
The WQ_RESCUER flag should only be used internally to the
workqueue implementation.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r-- | fs/gfs2/glock.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index f92c17704169..5a56568d289b 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c @@ -1782,12 +1782,13 @@ int __init gfs2_glock_init(void) } #endif - glock_workqueue = alloc_workqueue("glock_workqueue", WQ_RESCUER | + glock_workqueue = alloc_workqueue("glock_workqueue", WQ_MEM_RECLAIM | WQ_HIGHPRI | WQ_FREEZEABLE, 0); if (IS_ERR(glock_workqueue)) return PTR_ERR(glock_workqueue); - gfs2_delete_workqueue = alloc_workqueue("delete_workqueue", WQ_RESCUER | - WQ_FREEZEABLE, 0); + gfs2_delete_workqueue = alloc_workqueue("delete_workqueue", + WQ_MEM_RECLAIM | WQ_FREEZEABLE, + 0); if (IS_ERR(gfs2_delete_workqueue)) { destroy_workqueue(glock_workqueue); return PTR_ERR(gfs2_delete_workqueue); |