From: Keir Fraser Subject: Re: blkfront and flush Date: Fri, 13 Jun 2008 08:27:37 +0100 Message-ID: References: <48515059.092E.0048.1@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48515059.092E.0048.1@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Bruce Rogers , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org It sounds reasonable to me, although I'm no Linux blkdev interface expert. -- Keir On 12/6/08 23:35, "Bruce Rogers" wrote: > Now that no-data barriers are supported/supportable, does it make sense to > have blkfront call blk_queue_issue_flush_fn to register a flush method, which > would use a no-data barrier request? > > Is there any reason why this shouldn't work? > > We have code which instead of using a bio barrier, calls blkdev_issue_flush() > in the linux guest, which returns -EOPNOTSUPP because that support has never > been in blkfront. > > - Bruce Rogers > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel