Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3765158rdb; Thu, 14 Sep 2023 01:41:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHt0DB6GFL+Rf0WQnp3bgYxN53OOIU6lcW49AyUEFXsYu5Yi3EEL6mKaKEpliN4+mM6R+6h X-Received: by 2002:a05:6a00:84c:b0:68e:2c2a:5172 with SMTP id q12-20020a056a00084c00b0068e2c2a5172mr1896461pfk.6.1694680904509; Thu, 14 Sep 2023 01:41:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694680904; cv=none; d=google.com; s=arc-20160816; b=mT1kD1lHLW1iJoVPJswyRI71EBqv3lubbe5cipyVQGHYr6BYeJiICq/vBJYt2eosCt Abd5Fjx1xU+YQismPZRo5F/h/br3QhXI7EmhIHJ/wO0KT49hVJso3ow2kaYqdlP92JeP 8zOKLuRuHdNGXR3LZIPpDi6rxW4ELVwGsOAFsqAAUpLX9ZVsi6MPCizq/eFssiOw7PjZ UncqhlPR4eyLSNjnB5JqAL35ZG3I+uDarNgW9/JP2WsGB5BUpjVZuH+6x8BoxpdgJOhP ThTA0r8rMh/XFNsLVAKixraARoop9nqV9GXDC9NPqBAByZhLtECpTbRHAAq/a7r8Xf6/ I/hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UDhY6s9D6n9nxNX/GJkUDePBOzeBBV9yN4gfV5f6KZQ=; fh=eiDYVnAVkARZ4rUYa37iWi+qgQNBSKGulxilHEFlhU8=; b=OlWs7c31/Hvw4hpe9xIEXkgUTt1KS3GeNpDgQSkW1nbbEKmXb/8cymU248C87NP8hg sL8agOfq6PjZz3usyT2/ulgiHhULX6zst9UJNHg38if+LL/CjqF/tjTzhauUuy7bwRz1 D8lm24C70mitNzQVeEx3I96pPJPYh8f7TeqV4CUEBoqTgdw7HDqO5+FmBgXveK4EUzAF QcOgW/I+GNvkZoUNkIogpS49e9nHWOA4ISil1wuFS6vDiigU8hTO6gCdjdEBVUSmqjBB wfYspzavVbHAKHFwULyjT4DB3Jd9zWQ6Wn/UUC7gCuXKO2q0hkdxN+Nu49W2K9cEU2i6 uOBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=upfKxjOe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id cn15-20020a056a00340f00b0069015b1491bsi1141050pfb.120.2023.09.14.01.41.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 01:41:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=upfKxjOe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 882098283A0F; Thu, 14 Sep 2023 01:39:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234327AbjINIjw (ORCPT + 99 others); Thu, 14 Sep 2023 04:39:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230234AbjINIjw (ORCPT ); Thu, 14 Sep 2023 04:39:52 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CB761BFC; Thu, 14 Sep 2023 01:39:48 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6852C433C8; Thu, 14 Sep 2023 08:39:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694680787; bh=ErdQXXYaeVBX6KtsxtBdnX85rtohjDZ0IEg5DDNK3C4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=upfKxjOeWkG/U/pT5EOvCVrvnh+AXChGutV9oXszGOOzSfMupYGZ0nDoyB1Fj9HfQ WDQPGToPYrinncUFqwqbEc3AdPViehNG9MZ27oqyH5Bc2GSflGjAedexK7v88KfGtX 8crR9YqYvHr4sUME5C17JiONj1ga0s+XUf2ndY03m4uWPHIelvtMU6+nTpz57hMiMD c8DESAHxo3W50Ks2qFCrcJmX5Iqe1tygZmJITaa9e/Zx2z2NLiZYNyOW4iqGXzHXI2 AoTBubApbz4CowunHbS1vx+aiukAxbFgiNDYRLDnDhqIpN20Rx11sLk/hBUT7HAKTs XnC24Sr+7ILRA== From: Christian Brauner To: Amir Goldstein Cc: Christian Brauner , linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org, linux-kernel@vger.kernel.org, Miklos Szeredi , Nathan Chancellor , Alexander Viro , Jeff Layton Subject: Re: [PATCH] overlayfs: set ctime when setting mtime and atime Date: Thu, 14 Sep 2023 10:39:23 +0200 Message-Id: <20230914-hautarzt-bangen-f9ed9a2a3152@brauner> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230913-ctime-v1-1-c6bc509cbc27@kernel.org> References: <20230913-ctime-v1-1-c6bc509cbc27@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1316; i=brauner@kernel.org; h=from:subject:message-id; bh=ErdQXXYaeVBX6KtsxtBdnX85rtohjDZ0IEg5DDNK3C4=; b=owGbwMvMwCU28Zj0gdSKO4sYT6slMaQyHdtSImJc2tKv9cpCOsFHU3273pZbzWu2MjiXNLFJP+xv z1zVUcrCIMbFICumyOLQbhIut5ynYrNRpgbMHFYmkCEMXJwCMJE+U0aGNdNud4avZYxeeuYCY3NH5D pO8YsH51tWf5v2JfuVje+haoa/gq4LYzjmv7r7bY+t9eTsjJyzcQKTepICY1LObl4VGtzIBwA= X-Developer-Key: i=brauner@kernel.org; a=openpgp; fpr=4880B8C9BD0E5106FC070F4F7B3C391EFEA93624 Content-Transfer-Encoding: 8bit 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 (groat.vger.email [0.0.0.0]); Thu, 14 Sep 2023 01:39:53 -0700 (PDT) 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 groat.vger.email 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. > > POSIX states that when the atime and mtime are updated via utimes() that > 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. > > [...] Applied to the vfs.ctime branch of the vfs/vfs.git tree. Patches in the vfs.ctime branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. 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. 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. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.ctime [1/1] overlayfs: set ctime when setting mtime and atime https://git.kernel.org/vfs/vfs/c/f8edd3368615