commit | 07932a023af3cd728390ffdaeffb78e357123181 | [log] [tgz] |
---|---|---|
author | Xiubo Li <lixiubo@cmss.chinamobile.com> | Thu Jun 15 15:05:31 2017 +0800 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Thu Jul 06 23:11:33 2017 -0700 |
tree | c33e79e1a12465f542a8a4496eb603da0ac9b772 | |
parent | 1d6ef276594a781686058802996e09c8550fd767 [diff] |
tcmu: Fix module removal due to stuck unmap_thread thread again Because the unmap code just after the schdule() returned may take a long time and if the kthread_stop() is fired just when in this routine, the module removal maybe stuck too. Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com> Reviewed-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>