Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1286556pxf; Fri, 19 Mar 2021 03:53:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTt7Rjyvv/6D+vQzVBumioBWcSR6sHZfrLjCK8/51geD9cHLBiSe4sj1A9wVxaHTfgu9Ip X-Received: by 2002:a17:906:fc1c:: with SMTP id ov28mr3591742ejb.342.1616151204649; Fri, 19 Mar 2021 03:53:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616151204; cv=none; d=google.com; s=arc-20160816; b=gKifz+YnHe7GvD7kLHUQet58ELmyfD/tjGzUhQYzBX45Rx0iBT5XG2gHtIAO4TnkvO ooh7eFXtVevCyH/84rxn7lgl45J1pc9aVGMzinSdliQzN4xZicjgcLAM1IfJXWiknHdL o3sbkBXAg6f8w7t9KLwiocV7lL4fSzckS/jG28JwHPcSFmRFmf1r0DXRIgul5EvEcBg+ FhidvHEt5wcBTRC/kBzeV/FngzwcuRvkZA7nGP5o2SrZ8Oj6w9PNuyzBP0IdH9tLukvz R24TIkYh+pq2tAsl64jIIFZLNvlOwIQ1SUXL87QQpbOEVVSCzNuZN5dl9UbiSlyUSeIX 0+dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=DyU0kfhyJ9K9PwDpeZgafjUaj5wayL2Dd1uu3ttNySA=; b=uxEJcW1sxRt73ELnQdpTHp1604HQ7+ZsLbpz6TYn9GPzXtYyUxCM5CovuRgO2Z+uub OtobTFioNxp/VZrFXhB/O/nDKj3mfPkA7v/c4xySJfakFaw/BmepYCwfSBOZa9BHN/Ct vK4znxFpy+WYSh+Tliec4T1Tji0wppDmEz1sblEzGhEpu2oOpKzh8fihze8twp4BV/9j 54KoIX8vJOhrIA8VSy/XjpiNmdtD5hLtspmQ1KSZoi5fmEWt1JEMAomycnudqIkln1Gc v/hEgwR7Q9vSbCWeyaCaJlqAdUZPswyG4RP5eqR8uMVdnzS9j9BPBCVPH38eEOOPlBFZ 72XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=X8iKjZKk; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y2si3857029eje.495.2021.03.19.03.52.59; Fri, 19 Mar 2021 03:53:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=X8iKjZKk; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229512AbhCSKwM (ORCPT + 99 others); Fri, 19 Mar 2021 06:52:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbhCSKwH (ORCPT ); Fri, 19 Mar 2021 06:52:07 -0400 Received: from mail-vs1-xe34.google.com (mail-vs1-xe34.google.com [IPv6:2607:f8b0:4864:20::e34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 318E0C06174A for ; Fri, 19 Mar 2021 03:52:06 -0700 (PDT) Received: by mail-vs1-xe34.google.com with SMTP id b5so3221164vsl.9 for ; Fri, 19 Mar 2021 03:52:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DyU0kfhyJ9K9PwDpeZgafjUaj5wayL2Dd1uu3ttNySA=; b=X8iKjZKkXYwh3BR84dUDizD/1NFrlbgZCIGwoUQIOsscM/6j6yFdalp+0zHlY0afLn 2TTOEZwIma6EHaZtjOqsTYsEb8tM38HBkrCQKxJekX0F6Gu8kT4t4O/jhs4t1r4qM08d IsqnUJVbVcdM3PYW9BAKdBv2zowZxdkW2mVcU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DyU0kfhyJ9K9PwDpeZgafjUaj5wayL2Dd1uu3ttNySA=; b=WNt49dcjibX68hNVjIjt7jY/lZeHUDgRPG4FqFMBVajw0wWHMYnEXP0vbZVYcad9lI cbFw8aYpyuBciMQ0QpmN3rYMStsA0/lFSbKI/7YfX6Cb7/3R7XKAbYNi54yk9zn7Zyuh k52QD1k+UQxfL4iP7rdl6XJ2EUBUMoqryrZYZtAx2qsLzAwJ9xv5lwkZc3os264GFnJg fQG3dv2aDrdSLanVpzk5uc49zM/UrsvntyUOCAUNZU91srbkFLiegEfcu386GX0wVJ+x uOiEZWUDKpSnGlX+c92wTk+RtzZk1MVyDEWdpm65sdj8lIbDGzTND5qvW1Vj1NXLwCPv CLJQ== X-Gm-Message-State: AOAM530QsqddLkPVjHHwGbNwsG1Z6+ZvLdtuCDHLu9FwwX35n6gIQDMj vViUNg6orbdauha/8MzCZwx4NSIx3PsfwItkkKGjSQ== X-Received: by 2002:a67:f7d2:: with SMTP id a18mr1977372vsp.21.1616151125453; Fri, 19 Mar 2021 03:52:05 -0700 (PDT) MIME-Version: 1.0 References: <20210316221921.1124955-1-harshadshirwadkar@gmail.com> In-Reply-To: From: Miklos Szeredi Date: Fri, 19 Mar 2021 11:51:54 +0100 Message-ID: Subject: Re: [PATCH] ext4: add rename whiteout support for fast commit To: Amir Goldstein Cc: harshad shirwadkar , Ext4 , Theodore Tso , overlayfs Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Mar 19, 2021 at 11:35 AM Amir Goldstein wrote: > One thing that we will probably need to do is use the RENAME_WHITEOUT > interface as the explicit way to create the shared whiteout instead of using > vfs_whiteout() for filesystems that support RENAME_WHITEOUT > (we check for RENAME_WHITEOUT support anyway). > > The only thing that bothered me in moving from per-ovl-instance singleton > to per-ext4-singleton is what happens if someone tries to (say) chown -R > the upper layer or some other offline modification that was working up to > now and seemed to make sense. Eek. > > Surely, the ext4 singleton whiteout cannot allow modifications like that, > so what do we do about this? Let those scripts fail (if they exist) and > let their owners fix them to skip errors on whiteouts? Might try that. But the no-regressions rule means we'd have to change that in case it breaks something. Thanks, Miklos > Thanks, > Amir.