| To: | Lachlan McIlroy <lachlan@xxxxxxx> |
|---|---|
| Subject: | Re: Review: fix mapping invalidation callouts |
| From: | David Chinner <dgc@xxxxxxx> |
| Date: | Wed, 10 Jan 2007 11:10:28 +1100 |
| Cc: | David Chinner <dgc@xxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs-dev@xxxxxxx, xfs@xxxxxxxxxxx |
| In-reply-to: | <45A38332.40506@sgi.com> |
| References: | <20070108040309.GX33919298@melbourne.sgi.com> <20070108090916.GA17121@infradead.org> <20070108230429.GB33919298@melbourne.sgi.com> <45A38332.40506@sgi.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.2.1i |
On Tue, Jan 09, 2007 at 11:57:38AM +0000, Lachlan McIlroy wrote: > > This patch fixes fs_tosspages() and fs_flushinval_pages() but will a > call to fs_flush_pages() with flags including B_INVAL work correctly? By definition fs_flush_pages() only flushes pages. If you need to flush and invalidate pages, you use fs_flushinval_pages(). Passing B_INVAL to fs_flush_pages() is broken code. > I can't see any code that passes B_INVAL into fs_flush_pages() good ;) Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Review: fix mapping invalidation callouts, Lachlan McIlroy |
|---|---|
| Next by Date: | [PATCH 1 of 2]: Make BH_Unwritten a first class bufferhead flag V2, David Chinner |
| Previous by Thread: | Re: Review: fix mapping invalidation callouts, Lachlan McIlroy |
| Next by Thread: | Re: Review: fix mapping invalidation callouts, David Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |