Re: Page migration issue with UBIFS

From: Christoph Hellwig
Date: Tue Mar 15 2016 - 11:36:15 EST


On Tue, Mar 15, 2016 at 04:25:50PM +0100, Richard Weinberger wrote:
> Thanks for your quick response!
>
> I also don't think that the root cause is CMA or migration but it seems
> to be the messenger.
>
> Can you confirm that UBIFS's assumptions are valid?
> I'm trying to rule out possible issues and hunt down the root cause...

FYI, XFS would blow up unless either ->write_begin or ->page_mkwrite
were called before dirtying a page. We do an assert that the page has
buffers as the first thing in writepage, and those are the only
two places that should create buffers.

So either no one is using CMA with XFS, or there is another weird
interaction involved.