• T
    shpchp: update workqueue usage · e24dcbef
    Tejun Heo 提交于
    * Rename shpchp_wq to shpchp_ordered_wq and add non-ordered shpchp_wq
      which is used instead of the system workqueue.  This is to remove
      the use of flush_scheduled_work() which is deprecated and scheduled
      for removal.
    
    * With cmwq in place, there's no point in creating workqueues lazily.
      Create both shpchp_wq and shpchp_ordered_wq upfront.
    
    * Include workqueue.h from shpchp.h.
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Acked-by: NJesse Barnes <jbarnes@virtuousgeek.org>
    e24dcbef
shpchp.h 11.1 KB