aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifssmb.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-03-23 14:40:53 -0400
committerJeff Layton <jlayton@redhat.com>2012-03-23 14:40:53 -0400
commitda472fc847e9d8c9da69b09ce0ab975b24f9b894 (patch)
treef5b2c4e187aa39e011c758f8e94d2d2b3d296384 /fs/cifs/cifssmb.c
parent7c9421e1a9ce8d17816f480c3a5b4f2609442cd5 (diff)
cifs: add new cifsiod_wq workqueue
...and convert existing cifs users of system_nrt_wq to use that instead. Also, make it freezable, and set WQ_MEM_RECLAIM since we use it to deal with write reply handling. Signed-off-by: Jeff Layton <jlayton@redhat.com> Acked-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r--fs/cifs/cifssmb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index f0b1c59a3bb3..76d8981736e1 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -1689,7 +1689,7 @@ cifs_readv_callback(struct mid_q_entry *mid)
1689 rdata->result = -EIO; 1689 rdata->result = -EIO;
1690 } 1690 }
1691 1691
1692 queue_work(system_nrt_wq, &rdata->work); 1692 queue_work(cifsiod_wq, &rdata->work);
1693 DeleteMidQEntry(mid); 1693 DeleteMidQEntry(mid);
1694 cifs_add_credits(server, 1); 1694 cifs_add_credits(server, 1);
1695} 1695}
@@ -2129,7 +2129,7 @@ cifs_writev_callback(struct mid_q_entry *mid)
2129 break; 2129 break;
2130 } 2130 }
2131 2131
2132 queue_work(system_nrt_wq, &wdata->work); 2132 queue_work(cifsiod_wq, &wdata->work);
2133 DeleteMidQEntry(mid); 2133 DeleteMidQEntry(mid);
2134 cifs_add_credits(tcon->ses->server, 1); 2134 cifs_add_credits(tcon->ses->server, 1);
2135} 2135}