Received: with ECARTIS (v1.0.0; list linux-xfs); Sun, 29 Feb 2004 14:34:38 -0800 (PST) Received: from rj.sgi.com (mtvcafw.SGI.COM [192.48.171.6]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1TMYNKO032095 for ; Sun, 29 Feb 2004 14:34:23 -0800 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by rj.sgi.com (8.12.9/8.12.9/linux-outbound_gateway-1.1) with SMTP id i1TLM2Ow000912 for ; Sun, 29 Feb 2004 13:22:03 -0800 Received: from wobbly.melbourne.sgi.com (wobbly.melbourne.sgi.com [134.14.55.135]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id JAA22218; Mon, 1 Mar 2004 09:19:35 +1100 Received: from frodo.melbourne.sgi.com (root@frodo.melbourne.sgi.com [134.14.55.153]) by wobbly.melbourne.sgi.com (SGI-8.12.5/8.12.5) with ESMTP id i1TMJX8n556804; Mon, 1 Mar 2004 09:19:33 +1100 (EST) Received: from frodo.melbourne.sgi.com (nathans@localhost [127.0.0.1]) by frodo.melbourne.sgi.com (8.12.9/8.12.9/Debian-3) with ESMTP id i1TMJQFs000813; Mon, 1 Mar 2004 09:19:26 +1100 Received: (from nathans@localhost) by frodo.melbourne.sgi.com (8.12.9/8.12.9/Debian-3) id i1TMJO7B000811; Mon, 1 Mar 2004 09:19:24 +1100 Date: Mon, 1 Mar 2004 09:19:24 +1100 From: Nathan Scott To: Michael Lampe Cc: linux-xfs@oss.sgi.com Subject: Re: 2.4.25 & xfs & ide write barriers Message-ID: <20040229221924.GA731@frodo> References: <403E0A7A.3040505@iwr.uni-heidelberg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <403E0A7A.3040505@iwr.uni-heidelberg.de> User-Agent: Mutt/1.5.3i X-archive-position: 2278 X-ecartis-version: Ecartis v1.0.0 Sender: linux-xfs-bounce@oss.sgi.com Errors-to: linux-xfs-bounce@oss.sgi.com X-original-sender: nathans@sgi.com Precedence: bulk X-list: linux-xfs On Thu, Feb 26, 2004 at 04:02:18PM +0100, Michael Lampe wrote: > fs/xfs/linux/xfs_buf.c already has > > #ifdef RQ_WRITE_ORDERED > if (flush) > set_bit(BH_Ordered_Flush, &bufferlist[cnt-1]->b_state); > #endif > > in _pagebuf_page_io. > > Is this all I need (I already have applied the ide write barrier patch) > to safely use disk write back caching? > (which IDE write barrier patch is that, out of curiousity?) This stuff is untested by anyone here at SGI, so YMMV. It is also not going to work in the presence of unwritten extents (which were implemented after this change), some additional code would be needed there. cheers. -- Nathan