diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-03-23 14:40:53 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2012-03-23 14:40:53 -0400 |
commit | da472fc847e9d8c9da69b09ce0ab975b24f9b894 (patch) | |
tree | f5b2c4e187aa39e011c758f8e94d2d2b3d296384 /fs/cifs/misc.c | |
parent | 7c9421e1a9ce8d17816f480c3a5b4f2609442cd5 (diff) | |
download | linux-3.10-da472fc847e9d8c9da69b09ce0ab975b24f9b894.tar.gz linux-3.10-da472fc847e9d8c9da69b09ce0ab975b24f9b894.tar.bz2 linux-3.10-da472fc847e9d8c9da69b09ce0ab975b24f9b894.zip |
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/misc.c')
-rw-r--r-- | fs/cifs/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c index 425e4f2a155..c29d1aa2c54 100644 --- a/fs/cifs/misc.c +++ b/fs/cifs/misc.c @@ -595,7 +595,7 @@ is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) cifs_set_oplock_level(pCifsInode, pSMB->OplockLevel ? OPLOCK_READ : 0); - queue_work(system_nrt_wq, + queue_work(cifsiod_wq, &netfile->oplock_break); netfile->oplock_break_cancelled = false; |