* Re: TAKE 949916 - direct read vs delalloc [not found] <20060317053019.C44EF49F168A@chook.melbourne.sgi.com> @ 2006-03-17 17:57 ` Christoph Hellwig 2006-03-18 3:27 ` Nathan Scott 0 siblings, 1 reply; 2+ messages in thread From: Christoph Hellwig @ 2006-03-17 17:57 UTC (permalink / raw) To: Nathan Scott; +Cc: linux-xfs, linux-fsdevel 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 > > ---end quoted text--- ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: TAKE 949916 - direct read vs delalloc 2006-03-17 17:57 ` TAKE 949916 - direct read vs delalloc Christoph Hellwig @ 2006-03-18 3:27 ` Nathan Scott 0 siblings, 0 replies; 2+ messages in thread From: Nathan Scott @ 2006-03-18 3:27 UTC (permalink / raw) To: Christoph Hellwig; +Cc: linux-xfs, linux-fsdevel On Fri, Mar 17, 2006 at 05:57:19PM +0000, Christoph Hellwig wrote: > 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. Hmm, maybe, maybe not. filemap.c code doesn't know much about delayed allocation, so this won't bite other filesystems. We do the same thing on write and always have, so having it inside XFS is OK by me. cheers. -- Nathan ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-18 3:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20060317053019.C44EF49F168A@chook.melbourne.sgi.com>
2006-03-17 17:57 ` TAKE 949916 - direct read vs delalloc Christoph Hellwig
2006-03-18 3:27 ` Nathan Scott
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox