Skip to content

Commit

Permalink
[S390] cio: use all available paths for some internal I/O
Browse files Browse the repository at this point in the history
Use all available paths for the SENSE ID and STLCK commands. This
prevents deadlocks in conjunction with reserved devices.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed Aug 9, 2010
1 parent 982bdf8 commit c304db8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/s390/cio/device_id.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ void ccw_device_sense_id_start(struct ccw_device *cdev)
req->timeout = SENSE_ID_TIMEOUT;
req->maxretries = SENSE_ID_RETRIES;
req->lpm = sch->schib.pmcw.pam & sch->opm;
req->singlepath = 1;
req->check = snsid_check;
req->callback = snsid_callback;
ccw_request_start(cdev);
Expand Down
1 change: 0 additions & 1 deletion drivers/s390/cio/device_pgid.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,6 @@ void ccw_device_stlck_start(struct ccw_device *cdev, void *data, void *buf1,
req->timeout = PGID_TIMEOUT;
req->maxretries = PGID_RETRIES;
req->lpm = sch->schib.pmcw.pam & sch->opm;
req->singlepath = 1;
req->data = data;
req->callback = stlck_callback;
stlck_build_cp(cdev, buf1, buf2);
Expand Down

0 comments on commit c304db8

Please sign in to comment.