diff options
author | Jan Höppner <hoeppner@linux.ibm.com> | 2018-04-27 17:55:27 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2019-07-11 21:39:54 +0300 |
commit | a0610a8ad80743ff916ebef0490418a298e5bd23 (patch) | |
tree | 54d79459c0b1ae93fd3f5ccd0b1fc6a62bec5c10 /drivers/s390/block/dasd_fba.h | |
parent | 91dc4a197569230683ca8bad551e655a4bf14c30 (diff) | |
download | linux-a0610a8ad80743ff916ebef0490418a298e5bd23.tar.xz |
s390/dasd: Make dasd_setup_queue() a discipline function
ECKD, FBA, and the DIAG discipline use slightly different block layer
settings. In preparation of even more diverse queue settings, make
dasd_setup_queue() a discipline function.
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd_fba.h')
-rw-r--r-- | drivers/s390/block/dasd_fba.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd_fba.h b/drivers/s390/block/dasd_fba.h index b14bf1b2c691..8f75df06e893 100644 --- a/drivers/s390/block/dasd_fba.h +++ b/drivers/s390/block/dasd_fba.h @@ -9,6 +9,11 @@ #ifndef DASD_FBA_H #define DASD_FBA_H +/* + * Maximum number of blocks to be chained + */ +#define DASD_FBA_MAX_BLOCKS 96 + struct DE_fba_data { struct { unsigned char perm:2; /* Permissions on this extent */ |