From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lithops.sigma-star.at ([195.201.40.130]:52908 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726261AbeJTPIQ (ORCPT ); Sat, 20 Oct 2018 11:08:16 -0400 From: Richard Weinberger To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Amir Goldstein , Miklos Szeredi , linux-unionfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, Artem Bityutskiy , Adrian Hunter , linux-mtd@lists.infradead.org, Russell Senior , OpenWrt Development List Subject: Re: Regression in handling power cuts since 3a1e819b4e80 ("ovl: store file handle of lower inode on copy up") Date: Sat, 20 Oct 2018 08:58:49 +0200 Message-ID: <1818049.3sKzV5Nla8@blindfold> In-Reply-To: References: <11759557.52cTf2r1oB@blindfold> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Am Freitag, 19. Oktober 2018, 23:28:33 CEST schrieb Rafał Miłecki: > On Fri, 19 Oct 2018 at 16:59, Richard Weinberger wrote: > > Am Freitag, 19. Oktober 2018, 16:45:53 CEST schrieb Richard Weinberger: > > > Well, I fear it uncovers a problem in UBIFS. We had already problems with overlayfs. > > > Did you bisect the problem and you are sure that the said commit is the first bad commit? > > > > Another thing, UBIFS has no export operations, so overlayfs will fall back to xattrs, > > if I read the commit correctly. > > Maybe this is the root of the problem. > > > > I'm currently traveling, so I cannot test much. Please make sure whether > > 3a1e819b4e80 is really the first bad commit. > > Then I can go for a bug hunt. :-) > > I did another test and everything keeps pointing to the 3a1e819b4e80. > > 1) I switched to the 4.12.14 > 2) I confirmed problem exists there > 3) I added "return 0;" at the beginning of ovl_set_origin() > 4) I confirmed problem disappeared Okay. But I still think we're facing some UBIFS problem. To double check, on Linux 4.12.14 the problem exists and by reverting 3a1e819b4e80 (or making it a nop) it goes away? Do you see the warning regarding the double orphan only in the bad case? Thanks, //richard