Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756574AbdDQP2I (ORCPT ); Mon, 17 Apr 2017 11:28:08 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36657 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756500AbdDQP2C (ORCPT ); Mon, 17 Apr 2017 11:28:02 -0400 Date: Mon, 17 Apr 2017 17:27:38 +0200 From: Ralph Sennhauser To: Amir Goldstein , Richard Weinberger Cc: Adrian Hunter , linux-mtd@lists.infradead.org, linux-kernel , Artem Bityutskiy , "stable [v4.9]" Subject: Re: [PATCH] ubifs: Fix O_TMPFILE corner case in ubifs_link() Message-ID: <20170417172738.199803f5@gmail.com> In-Reply-To: References: <1490864181-2192-1-git-send-email-richard@nod.at> <4c7a176b-6132-7936-a04f-d4def5e56320@nod.at> <646ae733-5037-3072-7151-b055a8fa1521@intel.com> <92bbb4d1-afe7-14f2-763b-051c7b12ff9e@nod.at> <2a2eebef-ed37-7829-b08f-482039306a6e@nod.at> Organization: none X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2010 Lines: 66 On Tue, 11 Apr 2017 18:04:50 +0300 Amir Goldstein wrote: > On Tue, Apr 11, 2017 at 1:50 PM, Richard Weinberger > wrote: > > Hi! > > > > Am 11.04.2017 um 12:20 schrieb Amir Goldstein: > >> On Thu, Apr 6, 2017 at 3:26 PM, Richard Weinberger > >> wrote: > >>> Am 06.04.2017 um 14:09 schrieb Richard Weinberger: > >>>>> Were you able to make any progress? still working on this? > >>>>> If this is too complicated to get in for this cycle, better > >>>>> send a patch to disable O_TMPFILE support for ubifs and fix the > >>>>> problem properly on followup merge cycle. > >>>>> Because right now ubifs O_TMPFILE support is broken and breaks > >>>>> overlayfs mount. > >>>> > >>>> I have a test and currently testing it. As it looks the > >>>> situation is less worse than I thought first. :-) > >>> > >>> s/test/patch :) > >>> > >> > >> Richard, > >> > >> Maybe it's not my business to interfere with ubifs development and > >> I haven't seen your patch. > >> > >> But on the face of it, it doesn't sound like fixing O_TMPFILE is a > >> trivial fix, so not sure > >> it is wise to send a patch for -rc7?... > >> > >> How about sending the patch to disable O_TMPFILE for -rc7 and > >> queuing your fix for v4.12? > >> Without any patch, v4.11 is going to have a regression with > >> overlayfs+ubifs. > > > > No need to panic. > > Who? me? ;-) > > > I verified some stuff and my first patch does the right thing but > > not in a nice way, except in oneerror patch. In will land in -rc7. > > Hi Amir, Richard Looks like the fix didn't make it into 4.11-rc7 either, isn't it time to just disable O_TMPFILE support in ubifs for now? Giving plenty time for the proper fix. Thanks Ralph > > That patch looks simple enough. > I though you had a more complex patch in mind. > > > For the next merge window I prepare patches that introduce a new > > journal function for handling tmpfiles. > > > > Thanks for the update. > Cheers, > Amir.