Skip to content

Commit b1b0d5a

Browse files
vneethvAlexander Gordeev
authored andcommitted
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 'commit 2297791 ("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: 2297791 ("s390/cio: dont unregister subchannel from child-drivers") Reported-by: Boris Fiuczynski <[email protected]> Signed-off-by: Vineeth Vijayan <[email protected]> Reviewed-by: Peter Oberparleiter <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
1 parent 124acbe commit b1b0d5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/s390/cio/device.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,6 +1111,8 @@ static void io_subchannel_verify(struct subchannel *sch)
11111111
cdev = sch_get_cdev(sch);
11121112
if (cdev)
11131113
dev_fsm_event(cdev, DEV_EVENT_VERIFY);
1114+
else
1115+
css_schedule_eval(sch->schid);
11141116
}
11151117

11161118
static void io_subchannel_terminate_path(struct subchannel *sch, u8 mask)

0 commit comments

Comments
 (0)