mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-26 12:26:11 +00:00
s390/cio: include subchannels without devices also for evaluation
Currently when the new channel-path is enabled, we do evaluation only on the subchannels with a device connected on it. This is because, in the past, if the device in the subchannel is not working or not available, we used to unregister the subchannels. But, from the 'commit2297791c92
("s390/cio: dont unregister subchannel from child-drivers")' we allow subchannels with or without an active device connected on it. So, when we do the io_subchannel_verify, make sure that, we are evaluating the subchannels without any device too. Fixes:2297791c92
("s390/cio: dont unregister subchannel from child-drivers") Reported-by: Boris Fiuczynski <fiuczy@linux.ibm.com> Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
This commit is contained in:
parent
124acbe275
commit
b1b0d5aec1
1 changed files with 2 additions and 0 deletions
|
@ -1111,6 +1111,8 @@ static void io_subchannel_verify(struct subchannel *sch)
|
|||
cdev = sch_get_cdev(sch);
|
||||
if (cdev)
|
||||
dev_fsm_event(cdev, DEV_EVENT_VERIFY);
|
||||
else
|
||||
css_schedule_eval(sch->schid);
|
||||
}
|
||||
|
||||
static void io_subchannel_terminate_path(struct subchannel *sch, u8 mask)
|
||||
|
|
Loading…
Reference in a new issue