On 2010-06-18 09:47, Christoph Hellwig wrote: > Index: linux-2.6/drivers/md/dm.c > =================================================================== > --- linux-2.6.orig/drivers/md/dm.c 2010-06-17 13:21:19.000000000 +0200 > +++ linux-2.6/drivers/md/dm.c 2010-06-17 13:22:15.631255880 +0200 > @@ -1301,7 +1301,7 @@ static void __split_and_process_bio(stru > > ci.map = dm_get_live_table(md); > if (unlikely(!ci.map)) { > - if (!bio_rw_flagged(bio, BIO_RW_BARRIER)) > + if (!bio->bi_rw & REQ_HARDBARRIER) > bio_io_error(bio); > else > if (!md->barrier_error) That's not good either. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html