mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user