Andrew Morton wrote:
On Wed, 08 Aug 2007 14:10:15 -0700 "Martin J. Bligh" <mbligh@mbligh.org> wrote:Why isn't this easily fixable by just adding an additional dirty flag that says atime has changed? Then we only cause a write when we remove the inode from the inode cache, if only atime is updated.I think that could be made to work, and it would fix the performance issue. It is a behaviour change. At present ext3 (for example) commits everything every five seconds. After a change like this, a crash+recovery could cause a file's atime to go backwards by an arbitrarily large time interval - it could easily be months.
A second pdflush / workqueue at a slower rate would alleviate that. Yes, it's a semantic change ... but only in an incredibly small corner-case ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: Valerie Henson <val@nmt.edu>
- Re: [PATCH 00/23] per device dirty throttling -v8
- References:
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: Ingo Molnar <mingo@elte.hu>
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: Ingo Molnar <mingo@elte.hu>
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: Linus Torvalds <torvalds@linux-foundation.org>
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: Ingo Molnar <mingo@elte.hu>
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: Linus Torvalds <torvalds@linux-foundation.org>
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: Jeff Garzik <jeff@garzik.org>
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: Jörn Engel <joern@logfs.org>
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: Ingo Molnar <mingo@elte.hu>
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: Jörn Engel <joern@logfs.org>
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: Jörn Engel <joern@logfs.org>
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: Christoph Hellwig <hch@infradead.org>
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: "Martin J. Bligh" <mbligh@mbligh.org>
- Re: [PATCH 00/23] per device dirty throttling -v8
- From: Andrew Morton <akpm@linux-foundation.org>
- Re: [PATCH 00/23] per device dirty throttling -v8
- Prev by Date: Re: [PATCH] x86_64: Avoid NMI Watchdog and/or long wait in setup_APIC_timer
- Next by Date: Re: [PATCH 2/7] Added generic lg.h in lguest directory.
- Previous by thread: Re: [PATCH 00/23] per device dirty throttling -v8
- Next by thread: Re: [PATCH 00/23] per device dirty throttling -v8
- Index(es):
![]() |