[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090806122221.GA5175@infradead.org>
Date: Thu, 6 Aug 2009 08:22:21 -0400
From: Christoph Hellwig <hch@...radead.org>
To: Mark McLoughlin <markmc@...hat.com>,
device-mapper development <dm-devel@...hat.com>,
Jens Axboe <jens.axboe@...cle.com>,
Rusty Russell <rusty@...tcorp.com.au>,
linux-kernel <linux-kernel@...r.kernel.org>,
virtualization <virtualization@...ts.linux-foundation.org>,
Mikulas Patocka <mpatocka@...hat.com>
Subject: Re: [dm-devel] [PATCH] block: silently error unsupported empty
barriers too
On Thu, Aug 06, 2009 at 12:45:50PM +0100, Alasdair G Kergon wrote:
> On Thu, Aug 06, 2009 at 12:14:17PM +0100, Mark McLoughlin wrote:
> > We should error all barriers, even empty barriers, on devices like
> > virtio_blk which don't support them.
>
> Have you considered whether or not virtio_blk actually needs to
> support empty barriers?
virtio_blk on kvm does not support any barriers at all, similar to many
other drivers out there. If the queue flags say we don't support
barriers higher layers should not submit any barrier requests.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists