Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2724889rdb; Fri, 22 Sep 2023 06:56:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEAdu9e5NDCfortlgsWBdnMdMn0ZeinPdRoFF32hxwKKsbHXhKr6ADHWk/hiCxVCM8ThPAa X-Received: by 2002:a05:6358:9213:b0:135:85ec:a080 with SMTP id d19-20020a056358921300b0013585eca080mr9487907rwb.32.1695390998768; Fri, 22 Sep 2023 06:56:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695390998; cv=none; d=google.com; s=arc-20160816; b=L6x0rt8eioesBAnYrFZbUMQuq6dBPz/FbC3kpI4fyntI9EuxWU+ilojSdGPiINUcWl pbt+uqs+f+42pp3Msmb40qO+6OkEYntjBVsvDGWw+3Gi9E6jO/lTxofh5fDctLUXaNQt eNMCrIEBZ2/Z5rsS0nsRZ7lnlbvjwqiQ7Bw8/bMuA8ZIhPtvDNkPZ9SY9/1/aMJsLvk3 aLDKsCCWePpcSVbuaaORAaBUnCuLGW0Pum3Eo75mMNdGgmJUL6nhCFBMnjaG6KWWrTLI UsX27F5fLvhby29qKOUJywyWsvi/eD2f5VeHtkqBo0R/xPMs5vW7NDdwP9owMnnnv59c 8J3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=2LGgiSJxxlvCffA45tgKR6shpXO+PWHuNFaUbHw/0/8=; fh=5TtqYRG15qIRAGkqxr07H4zDZfjDxFvGCNndpu9xrsg=; b=V/FJVLN8axI2RZqk5TeH3ZS9xbEaricwgpUdwcQRLw5gzI+LbEqmrMV/o0iFFOBpRK 3qE936llH8tvQ2I8SRF465kpMObw7UBkldezGXImb4abqNv1TDo22zrzWiKkM1VIpS4X qMubvsT95tR34+T1fDZiKVSaclAx3ILi1UZnaqPAjPQdVYO1TMCQ/9LJPx8dhzZGm3J2 7rS/4ZqK1ObwuvwcdgtxkVzG71Xwtp+pYoY4zgafIzt1ypHzsWy4qNkpFtGvjsrzgcHA QzgD3uoZFMFZs11tn/RigOUUEfi47n6eCSgbjyzleARemH0q65CgRjuO05m0UB/1Guik USOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I6vweqFa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id s132-20020a63778a000000b00578cc95d3fbsi3964728pgc.635.2023.09.22.06.56.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 06:56:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I6vweqFa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 69DC880F72BD; Fri, 22 Sep 2023 06:52:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234206AbjIVNwk (ORCPT + 99 others); Fri, 22 Sep 2023 09:52:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234097AbjIVNwf (ORCPT ); Fri, 22 Sep 2023 09:52:35 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE26392; Fri, 22 Sep 2023 06:52:29 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF2F0C433C7; Fri, 22 Sep 2023 13:52:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695390749; bh=I3wxew2R83ErU8B71fa76/M6GNlN/bf+I15REwBNzGY=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=I6vweqFa6teue4NRHYc36l0I1yh39CxkkIFYIpXt/mUXtsjSjKEnnnVV+mnXaiUKS DdyfW8oYgdYXTKzXb9DgbdSHBPA+wr8WohBuKuXu6aimmSRoSqmNf2bXx+UrFn1VIX 5wxp26DUWvKj/hYMH78ZALmlleijovB+L37euuPpxZDOVXudbTz8DlWh+PqAXqZhVg ZH34UcB2Ot1g7fotXNiAnbPfcxaVqspdWVGMm3cmZv3UY73SfwYbW+Y/q6wsyOORT8 GviNP5FwfuLLvBXYcIDTjl2U6MUumM7YCJnbOHYvk3HT8p6VQU65ARXncxWwZupRQ8 48Rb8Ty/LgH7A== Message-ID: Subject: Re: [PATCH] overlayfs: set ctime when setting mtime and atime From: Jeff Layton To: Christian Brauner , Amir Goldstein Cc: linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org, linux-kernel@vger.kernel.org, Miklos Szeredi , Nathan Chancellor , Alexander Viro Date: Fri, 22 Sep 2023 09:52:27 -0400 In-Reply-To: <20230914-hautarzt-bangen-f9ed9a2a3152@brauner> References: <20230913-ctime-v1-1-c6bc509cbc27@kernel.org> <20230914-hautarzt-bangen-f9ed9a2a3152@brauner> Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 22 Sep 2023 06:52:45 -0700 (PDT) On Thu, 2023-09-14 at 10:39 +0200, Christian Brauner wrote: > On Wed, 13 Sep 2023 09:33:12 -0400, Jeff Layton wrote: > > Nathan reported that he was seeing the new warning in > > setattr_copy_mgtime pop when starting podman containers. Overlayfs is > > trying to set the atime and mtime via notify_change without also > > setting the ctime. > >=20 > > POSIX states that when the atime and mtime are updated via utimes() tha= t > > we must also update the ctime to the current time. The situation with > > overlayfs copy-up is analogies, so add ATTR_CTIME to the bitmask. > > notify_change will fill in the value. > >=20 > > [...] >=20 > Applied to the vfs.ctime branch of the vfs/vfs.git tree. > Patches in the vfs.ctime branch should appear in linux-next soon. >=20 > Please report any outstanding bugs that were missed during review in a > new review to the original patch series allowing us to drop it. >=20 > It's encouraged to provide Acked-bys and Reviewed-bys even though the > patch has now been applied. If possible patch trailers will be updated. >=20 > Note that commit hashes shown below are subject to change due to rebase, > trailer updates or similar. If in doubt, please check the listed branch. >=20 > tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git > branch: vfs.ctime >=20 > [1/1] overlayfs: set ctime when setting mtime and atime > https://git.kernel.org/vfs/vfs/c/f8edd3368615 Christian, are you still planning to pick up this patch? I saw that it was dropped from linux-next. Since the mgtime patches have been reverted for now, it may be best for this to go in via the overlayfs tree ? Thanks, --=20 Jeff Layton