This commit changed bio_barrier() to direct flag accessors,
convert dm-raid-4-5 to match:
commit
1f98a13f623e0ef666690a18c1250335fc6d7ef1
Author: Jens Axboe <jens.axboe@oracle.com>
Date: Fri Sep 11 14:32:04 2009 +0200
bio: first step in sanitizing the bio->bi_rw flag testing
Signed-off-by: Andy Whitcroft <apw@canonical.com>
* the input queue unless all work queues are empty
* and the stripe cache is inactive.
*/
- if (unlikely(bio_barrier(bio))) {
+ if (unlikely(bio_rw_flagged(bio, BIO_RW_BARRIER))) {
/* REMOVEME: statistics. */
atomic_inc(rs->stats + S_BARRIER);
if (delay ||