xfs
[Top] [All Lists]

Re: TAKE 949916 - direct read vs delalloc

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: TAKE 949916 - direct read vs delalloc
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Fri, 17 Mar 2006 17:57:19 +0000
Cc: linux-xfs@xxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx
In-reply-to: <20060317053019.C44EF49F168A@chook.melbourne.sgi.com>
References: <20060317053019.C44EF49F168A@chook.melbourne.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Fri, Mar 17, 2006 at 04:30:19PM +1100, Nathan Scott wrote:
> Flush and invalidate dirty pages at the start of a direct read also,
> else we can hit a delalloc-extents-via-direct-io BUG.

If this is needed it should be done in the filemap.c code.

> 
> Date:  Fri Mar 17 16:29:59 AEDT 2006
> Workarea:  chook.melbourne.sgi.com:/build/nathans/xfs-linux
> Inspected by:  tes
> 
> The following file(s) were checked into:
>   longdrop.melbourne.sgi.com:/isms/xfs-kern/xfs-linux-melb
> 
> 
> Modid:  xfs-linux-melb:xfs-kern:25483a
> linux-2.6/xfs_lrw.c - 1.237 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/> 
linux-2.6/xfs_lrw.c.diff?r1=text&tr1=1.237&r2=text&tr2=1.236&f=h
> http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_lrw.c.diff?r1=text&tr1=1.237&r2=text&tr2=1.236&f=h
> 
> 
---end quoted text---


<Prev in Thread] Current Thread [Next in Thread>