md: implment REQ_FLUSH/FUA support
[deliverable/linux.git] / drivers / md / multipath.c
index 0307d217e7a4c399f52550482cd945942d416d30..6d7ddf32ef2ec932040d0611cbf109b82a7a656c 100644 (file)
@@ -142,8 +142,8 @@ static int multipath_make_request(mddev_t *mddev, struct bio * bio)
        struct multipath_bh * mp_bh;
        struct multipath_info *multipath;
 
-       if (unlikely(bio->bi_rw & REQ_HARDBARRIER)) {
-               md_barrier_request(mddev, bio);
+       if (unlikely(bio->bi_rw & REQ_FLUSH)) {
+               md_flush_request(mddev, bio);
                return 0;
        }
 
This page took 0.02591 seconds and 5 git commands to generate.