Re: [PATCH 5/9] writeback: introduce the pageout work

From: Andrew Morton
Date: Fri Mar 02 2012 - 14:57:25 EST


On Fri, 2 Mar 2012 18:39:51 +0800
Fengguang Wu <fengguang.wu@xxxxxxxxx> wrote:

> > And I agree it's unlikely but given enough time and people, I
> > believe someone finds a way to (inadvertedly) trigger this.
>
> Right. The pageout works could add lots more iput() to the flusher
> and turn some hidden statistical impossible bugs into real ones.
>
> Fortunately the "flusher deadlocks itself" case is easy to detect and
> prevent as illustrated in another email.

It would be a heck of a lot safer and saner to avoid the iput(). We
know how to do this, so why not do it?

--
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/