From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [RFC] relaxed barrier semantics Date: Fri, 30 Jul 2010 09:07:32 +0200 Message-ID: <20100730070732.GA6291@lst.de> References: <4C4FF136.5000205@kernel.org> <20100728090025.GA9252@lst.de> <4C4FF592.9090800@kernel.org> <20100728092859.GA11096@lst.de> <20100729014431.GD4506@thunk.org> <20100729024334.GA21736@redhat.com> <20100729084225.GA30446@lst.de> <20100729200217.GD28704@redhat.com> <20100729200655.GB17767@lst.de> <20100730031721.GA31762@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , "Ted Ts'o" , Tejun Heo , Jan Kara , jaxboe@fusionio.com, James.Bottomley@suse.de, linux-fsdevel@vger.kernel.org, linux-scsi@vger.kernel.org, chris.mason@oracle.com, swhiteho@redhat.com, konishi.ryusuke@lab.ntt.co.jp To: Vivek Goyal Return-path: Received: from verein.lst.de ([213.95.11.210]:42611 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753435Ab0G3HIJ (ORCPT ); Fri, 30 Jul 2010 03:08:09 -0400 Content-Disposition: inline In-Reply-To: <20100730031721.GA31762@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Jul 29, 2010 at 11:17:21PM -0400, Vivek Goyal wrote: > To me it looked like as if everything is there and it is just a matter > of skipping elevator draining and request queue draining. The problem is that is just appears to be so. The code blocking only the next barrier for tagged writes is there, but in that form it doesn't work and probably never did. When I try to use it and debug it I always get my post-flush request issued before the barrier request has finished.