| To: | David Chinner <dgc@xxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 1/2]: Fix BUG in cancel_dirty_pages on XFS |
| From: | Nick Piggin <nickpiggin@xxxxxxxxxxxx> |
| Date: | Thu, 25 Jan 2007 11:12:41 +1100 |
| Cc: | Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, akpm@xxxxxxxx |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=Received:X-YMail-OSG:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=SUG/0qvcxeFnLgrcwo+MdUKRKMnHVXMD1ZALUDcM+Ya7ZBVTClXe6UiXDLpAPx2VK7zB2nqabEsW6KO5jniY3OkpuYzWwKaLVbI/3GxELWldXsLPctfRQsL/MGmmic54bngsJzPy6sv5WZEqeYAZe3uZ7QGwPc8wH6Jl8e3aucI= ; |
| In-reply-to: | <20070124224654.GN33919298@melbourne.sgi.com> |
| References: | <20070123223702.GF33919298@melbourne.sgi.com> <1169640835.6189.14.camel@twins> <45B7627B.8050202@yahoo.com.au> <20070124224654.GN33919298@melbourne.sgi.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1 |
David Chinner wrote:
On Thu, Jan 25, 2007 at 12:43:23AM +1100, Nick Piggin wrote: And why not just leave it in the pagecache and be done with it?
All you need is to do a writeout before a direct IO read, which is what generic dio code does.
but in that case you'll either have to live with some racyness (which is what the generic code does), or have a higher level synchronisation to prevent buffered + direct IO writes I suppose?
-- SUSE Labs, Novell Inc. Send instant messages to your online friends http://au.messenger.yahoo.com |
| Previous by Date: | Re: 2.6.20-rc5: cp 18gb 18gb.2 = OOM killer, reproducible just like 2.16.19.2, Justin Piszcz |
|---|---|
| Next by Date: | Re: 2.6.20-rc5: cp 18gb 18gb.2 = OOM killer, reproducible just like 2.16.19.2, Pavel Machek |
| Previous by Thread: | Re: [PATCH 1/2]: Fix BUG in cancel_dirty_pages on XFS, David Chinner |
| Next by Thread: | Re: [PATCH 1/2]: Fix BUG in cancel_dirty_pages on XFS, David Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |