]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/s390/block/dasd_int.h
s390/dasd: make number of retries configurable
[karo-tx-linux.git] / drivers / s390 / block / dasd_int.h
index 0785bd9bd5b60ddeca4a4bd3894e9949b76d661d..ad42075868c73d2868941fa8bae444cd364468ca 100644 (file)
@@ -224,6 +224,8 @@ struct dasd_ccw_req {
 /* default expiration time*/
 #define DASD_EXPIRES     300
 #define DASD_EXPIRES_MAX  40000000
+#define DASD_RETRIES     256
+#define DASD_RETRIES_MAX  32768
 
 /* per dasd_ccw_req flags */
 #define DASD_CQR_FLAGS_USE_ERP   0     /* use ERP for this request */
@@ -466,6 +468,7 @@ struct dasd_device {
 
        /* default expiration time in s */
        unsigned long default_expires;
+       unsigned long default_retries;
 
        struct dentry *debugfs_dentry;
        struct dasd_profile profile;