Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756652AbcCUP2t (ORCPT ); Mon, 21 Mar 2016 11:28:49 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:58488 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756061AbcCUP2r (ORCPT ); Mon, 21 Mar 2016 11:28:47 -0400 Date: Mon, 21 Mar 2016 08:28:45 -0700 From: Christoph Hellwig To: "Kirill A. Shutemov" Cc: Richard Weinberger , Christoph Hellwig , linux-fsdevel , "linux-mtd@lists.infradead.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Boris Brezillon , Maxime Ripard , David Gstir , Dave Chinner , Artem Bityutskiy , "Kirill A. Shutemov" , Alexander Kaplan Subject: Re: Page migration issue with UBIFS Message-ID: <20160321152845.GA17864@infradead.org> References: <56E8192B.5030008@nod.at> <20160315151727.GA16462@node.shutemov.name> <56E82B18.9040807@nod.at> <20160315153744.GB28522@infradead.org> <56E8985A.1020509@nod.at> <20160316142156.GA23595@node.shutemov.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160316142156.GA23595@node.shutemov.name> User-Agent: Mutt/1.5.24 (2015-08-30) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 417 Lines: 10 On Wed, Mar 16, 2016 at 05:21:56PM +0300, Kirill A. Shutemov wrote: > > FYI, with a dummy ->migratepage() which returns only -EINVAL UBIFS does no > > longer explode upon page migration. > > Tomorrow I'll do more tests to make sure. > > Could you check if something like this would fix the issue. > Completely untested. We really need to make the default safe for file systems that don't have a migratepage method.