Re: [PATCH 0/4] Get rid of iput() from flusher thread
From: Fengguang Wu <hidden>
Date: 2012-03-19 05:16:36
Also in:
linux-fsdevel, lkml
On Fri, Mar 09, 2012 at 10:02:24AM +0100, Jan Kara wrote:
Hi, this patch set changes writeback_sb_inodes() to avoid iput() which might be problematic (see patch 4 which tries to summarize our email discussions) for some filesystems. Patches 1 and 2 are trivial mostly unrelated fixes (Fengguang, can you can take these and merge them right away please?).
Sure, they have been tested in linux-next for some days.
Patch 3 is a preparatory code reshuffle and patch 4 removes the __iget() / iput() from flusher thread.
These are pretty sane changes towards the right direction (in despite of the complexities involved).
As a side note, your patches to offload writeback from kswapd to flusher thread then won't need iget/iput either if we pass page references as we talked so that should resolve most of the concerns. What do you think guys?
I appreciate the work a lot. Thank you for removing the major problem with the patches on pageout writeback work :-) Regards, Fengguang -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>