On Fri, May 16, 2014 at 02:27:20AM -0700, Christoph Hellwig wrote: > > Seems to me that this problem has been solved elswhere in the > > kernel, like for tracking of timers to expire on a given jiffie > > (tvec, tvec_base, timer_lists). Perhaps we should be looking to move > > to a set of time based lists for efficiently tracking what inodes > > should be written back at a given background writeback interval > > rather than trying to keep everything on the one list. > > It's also pretty similar to the mru cache we use for filesystems in XFS, > except that we'd start writeback instead of deleting items. The whole > bucket scheme there should also help with I/O batching. *nod* I thought about that, but then though that an example from a core subsystem would be better ;) Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html