s390/dasd: fix performance drop
authorStefan Haberland <sth@linux.vnet.ibm.com>
Fri, 12 Feb 2016 13:50:52 +0000 (14:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2016 23:07:12 +0000 (15:07 -0800)
commita90ad5c546fa28f28f5870d884603a7822e9c82a
tree235e07a83d21f5c7caeada299c4d46b9845ab170
parent2e80d52bc8fb39da0208d73bb2a2ef7f10b7db2e
s390/dasd: fix performance drop

commit 12d319b920fa673a4d5e7c1785c5dc82dcd15257 upstream.

Commit ca369d51b ("sd: Fix device-imposed transfer length limits")
introduced a new queue limit max_dev_sectors which limits the maximum
sectors for requests. The default value leads to small dasd requests
and therefor to a performance drop.
Set the max_dev_sectors value to the same value as the max_hw_sectors
to use the maximum available request size for DASD devices.

Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/s390/block/dasd.c