Skip to content

Commit

Permalink
[S390] cio: subchannels in no-path state.
Browse files Browse the repository at this point in the history
Subchannel may incorrectly remain in state no-path after channel paths
have reappeared. Currently the scan for subchannels which are using a
channel path ends at the first occurrence if a full link address was
provided by the channel subsystem. The scan needs to continue over
all subchannels.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Peter Oberparleiter authored and Martin Schwidefsky committed Sep 20, 2006
1 parent dcd707b commit dd9963f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/s390/cio/chsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ __s390_process_res_acc(struct subchannel_id schid, void *data)

if (chp_mask == 0) {
spin_unlock_irq(&sch->lock);
put_device(&sch->dev);
return 0;
}
old_lpm = sch->lpm;
Expand All @@ -392,7 +393,7 @@ __s390_process_res_acc(struct subchannel_id schid, void *data)

spin_unlock_irq(&sch->lock);
put_device(&sch->dev);
return (res_data->fla_mask == 0xffff) ? -ENODEV : 0;
return 0;
}


Expand Down

0 comments on commit dd9963f

Please sign in to comment.