]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/s390/block/dasd_fba.c
Merge ../linux-2.6
[linux-2.6-omap-h63xx.git] / drivers / s390 / block / dasd_fba.c
index 28cb4613b7f597a0bc5364c6dc211d60c0b70702..91145698f8e926c7265e3d1581abf61479d62b9b 100644 (file)
@@ -4,7 +4,6 @@
  * Bugreports.to..: <Linux390@de.ibm.com>
  * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000
  *
- * $Revision: 1.40 $
  */
 
 #include <linux/config.h>
@@ -271,7 +270,7 @@ dasd_fba_build_cp(struct dasd_device * device, struct request *req)
                                /* Fba can only do full blocks. */
                                return ERR_PTR(-EINVAL);
                        count += bv->bv_len >> (device->s2b_shift + 9);
-#if defined(CONFIG_ARCH_S390X)
+#if defined(CONFIG_64BIT)
                        if (idal_is_needed (page_address(bv->bv_page),
                                            bv->bv_len))
                                cidaw += bv->bv_len / blksize;
@@ -352,6 +351,8 @@ dasd_fba_build_cp(struct dasd_device * device, struct request *req)
                        recid++;
                }
        }
+       if (req->flags & REQ_FAILFAST)
+               set_bit(DASD_CQR_FLAGS_FAILFAST, &cqr->flags);
        cqr->device = device;
        cqr->expires = 5 * 60 * HZ;     /* 5 minutes */
        cqr->retries = 32;