[S390] dasd: fix unconditional reserve handling.
authorHorst Hummel <horst.hummel@de.ibm.com>
Mon, 5 Feb 2007 20:17:24 +0000 (21:17 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 5 Feb 2007 20:17:24 +0000 (21:17 +0100)
commit336c340b682daa283acf9202a07c4fd5c28e53a5
tree2543dfac49863f3058aa5042727d44f0ba2aff33
parentdb2738197b52f02f4c599c1ae3f66ae1894406cd
[S390] dasd: fix unconditional reserve handling.

The reserve/release IOCTLs sometimes do not work. If second system
does a 'steal lock' the pending unit check (Format 3 Msg F) is
delivered. Since ERP is disabled for reserve/release, the IOCTL call
fails. We have to allow basic ERP (retries) for reserve/release IOCTLs.

Signed-off-by: Horst Hummel <horst.hummel@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c
drivers/s390/block/dasd_eckd.c