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>
This commit is contained in:
@@ -1689,7 +1689,7 @@ cifs_readv_callback(struct mid_q_entry *mid)
|
||||
rdata->result = -EIO;
|
||||
}
|
||||
|
||||
queue_work(system_nrt_wq, &rdata->work);
|
||||
queue_work(cifsiod_wq, &rdata->work);
|
||||
DeleteMidQEntry(mid);
|
||||
cifs_add_credits(server, 1);
|
||||
}
|
||||
@@ -2129,7 +2129,7 @@ cifs_writev_callback(struct mid_q_entry *mid)
|
||||
break;
|
||||
}
|
||||
|
||||
queue_work(system_nrt_wq, &wdata->work);
|
||||
queue_work(cifsiod_wq, &wdata->work);
|
||||
DeleteMidQEntry(mid);
|
||||
cifs_add_credits(tcon->ses->server, 1);
|
||||
}
|
||||
|
مرجع در شماره جدید
Block a user