scst: Enable the kernel scheduler in scst_wait_for_tgt_devs()

This patch should fix the following bug:

INFO: rcu_sched self-detected stall on CPU ...
...
scst_wait_for_tgt_devs()

Reported-by: Chesnokov Gleb <Chesnokov.G@raidix.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9381 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2021-04-14 20:35:40 +00:00
parent 9ad346b84e
commit f59fe00eb1

View File

@@ -4657,7 +4657,7 @@ static int scst_tgt_devs_cmds(struct list_head *tgt_dev_list)
static void scst_wait_for_tgt_devs(struct list_head *tgt_dev_list)
{
while (scst_tgt_devs_cmds(tgt_dev_list) > 0)
mdelay(100);
msleep(100);
}
int scst_acg_del_lun(struct scst_acg *acg, uint64_t lun,