On Fri, Mar 01, 2013 at 12:00:29AM -0500, Theodore Ts'o wrote: > When the system is under memory pressure, ext4_es_srhink() will get > called very often. So optimize returning the number of items in the > file system's extent status cache by keeping a per-filesystem count, > instead of calculating it each time by scanning all of the inodes in > the extent status cache. > > Also rename the slab used for the extent status cache to be > "ext4_extent_status" so it's obviousl the slab in question is created > by ext4. Seems to work with no ill effects afaics. thanks, Dave -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html