From: Jens Axboe <axboe@kernel.dk>
To: Christoph Hellwig <hch@lst.de>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH 2/2] block: unify flags for struct bio and struct request
Date: Fri, 18 Jun 2010 12:29:11 +0200 [thread overview]
Message-ID: <4C1B4A77.3060100@kernel.dk> (raw)
In-Reply-To: <20100618074704.GB13358@lst.de>
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
next prev parent reply other threads:[~2010-06-18 10:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-18 7:47 [PATCH 2/2] block: unify flags for struct bio and struct request Christoph Hellwig
2010-06-18 9:07 ` Nick Piggin
2010-06-18 9:14 ` Christoph Hellwig
2010-06-18 9:33 ` Jens Axboe
2010-06-18 10:29 ` Jens Axboe [this message]
2010-06-18 16:57 ` Christoph Hellwig
2010-06-18 17:35 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C1B4A77.3060100@kernel.dk \
--to=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.