Re: [PATCH 0/4] Get rid of iput() from flusher thread

From: Fengguang Wu
Date: Mon Mar 19 2012 - 01:22:11 EST


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/