Skip to content
Commit 9b646972 authored by Tejun Heo's avatar Tejun Heo
Browse files

cifs: use workqueue instead of slow-work



Workqueue can now handle high concurrency.  Use system_nrt_wq
instead of slow-work.

* Updated is_valid_oplock_break() to not call cifs_oplock_break_put()
  as advised by Steve French.  It might cause deadlock.  Instead,
  reference is increased after queueing succeeded and
  cifs_oplock_break() briefly grabs GlobalSMBSeslock before putting
  the cfile to make sure it doesn't put before the matching get is
  finished.

* Anton Blanchard reported that cifs conversion was using now gone
  system_single_wq.  Use system_nrt_wq which provides non-reentrance
  guarantee which is enough and much better.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Acked-by: default avatarSteve French <sfrench@samba.org>
Cc: Anton Blanchard <anton@samba.org>
parent d098adfb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment