From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33201EE7FE0 for ; Fri, 8 Sep 2023 12:11:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 877ED6B00B8; Fri, 8 Sep 2023 08:11:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 828EF6B00B9; Fri, 8 Sep 2023 08:11:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6F0F46B00BA; Fri, 8 Sep 2023 08:11:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 5C09D6B00B8 for ; Fri, 8 Sep 2023 08:11:04 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 384061A03CA for ; Fri, 8 Sep 2023 12:11:04 +0000 (UTC) X-FDA: 81213314448.15.BAFADE3 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf20.hostedemail.com (Postfix) with ESMTP id 5EB9A1C0031 for ; Fri, 8 Sep 2023 12:11:01 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Gdzvxuvf; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf20.hostedemail.com: domain of brauner@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=brauner@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1694175061; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=alIt5tCC0HWGp6Vkmd+Fxh4c1JWegNhhAkbdG9f+4kI=; b=0wBx+4tnM8/fk91B7qeN1P714BeZ4qaNDhs36WIr1yqRAFm1Y/vksHJYcex1+j1+K1fM7f Ug86MeEzxLYEAc+Mo/cgNWaiwEsxqg32ON0tFWxctH2qb/uZ3/gRFz9Vy36S5kqAgu+CKm O9Off/uipefWWVbV7kg68LTAOJ3fXBc= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Gdzvxuvf; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf20.hostedemail.com: domain of brauner@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=brauner@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1694175061; a=rsa-sha256; cv=none; b=G3OeS15FyZLVmKr0mQ9EnuCpzYhmXLY6o0oVbaINIHL5O2QvqhUfc4nDS/S/8/mm+WtKjw ThcuB0l2yigIgn/qLT9X8A7uYdAkDXPm4MxPMBw9120AT8Q9tP7J+TGUKK/NOH6tq8dTC1 oGkBFR7B+6mTu9LotPNY5D1hSbpDHfg= Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4C99BB82007; Fri, 8 Sep 2023 12:10:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 244CCC433C7; Fri, 8 Sep 2023 12:10:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694175057; bh=Bcoj13+cz0u1U4GDbfHGOuXDRti5AxLN+icNUe95riI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GdzvxuvfB7d+lKywj5FB2AT/GXBkvYmtrM8YzwlU9Gvyrza9y+xDgis0F9B0tUeG5 Q3eF01uN86KVOV8NivGOEYMFJbGuh+9E1MA/6qpk9gMI4Ady4VwhO5X9fsfoj7LL7I T9vdahmt9i48ZiAfXaVjBEZzuWc/Cxd54Z11aVVDGuL3qyBIMKTM1oUKHq98309J83 Ks04exhjD/JjzBvf3hshz7fvBL8PjwF1c5b0upfn6ZdWgzClNxn/kPTA6XOzXRdg54 6OxgKuYoYl6eYMUW+KY/QjGLywEqeQ9uqTGknAfWTpYGoes1MzCqkygvNz8qQagYi9 x3yjcpXLNpidQ== From: Christian Brauner To: Jeff Layton Cc: Christian Brauner , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, kernel test robot , Alexander Viro , Jan Kara Subject: Re: [PATCH 0/2] fs: fixes for multigrain ctime code Date: Fri, 8 Sep 2023 14:10:37 +0200 Message-Id: <20230908-gegolten-wagen-49d5559cfdb3@brauner> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230907-ctime-fixes-v1-0-3b74c970d934@kernel.org> References: <20230907-ctime-fixes-v1-0-3b74c970d934@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1579; i=brauner@kernel.org; h=from:subject:message-id; bh=Bcoj13+cz0u1U4GDbfHGOuXDRti5AxLN+icNUe95riI=; b=owGbwMvMwCU28Zj0gdSKO4sYT6slMaT85jfdPeftjK9ap7doLOMJOyv2zfekibZOOVfo6yX7fTP6 XAOsOkpZGMS4GGTFFFkc2k3C5ZbzVGw2ytSAmcPKBDKEgYtTACZS+pOR4eSCSQtrtj1cXf1PkvfL1r aF8bX8k3645wS51DHKS0WtamL4Z1LYtMz6XgpXwdmj0zLnfngSPZnVKVzZ/E6fqB7/FPcQXgA= X-Developer-Key: i=brauner@kernel.org; a=openpgp; fpr=4880B8C9BD0E5106FC070F4F7B3C391EFEA93624 Content-Trans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/3XRGWphu15A7L73dg/reYh/DT4W9c1zYgSDdtSsZzw Lv5sf7Hk 0eVPzzVvrVeHgLAayr3Z0a2rZZhJxHD4JqX+7RTgcL8BSPCkJAKjqSA4DbzrNMVYBoyWHma9jApKi6qvVFc+MJR1abl3U5tGCC8Z5TZWPt/yeZczt1jmskOhmk9Irr8EX2Ho9tNPnYeHtAJRH+p0dPROGsPFgNF2rL9SI4iR/8Oi0nqQZzU54vjblWyIQOHclxQELrt8KpXmnPcNMuVgGtQEwHE+MBxZztGYqFsxmuYxD/rtW5ldsZrsI6wsDEmZ44kDpcVW3/WPVrLHGQkJuldJq3n2uq57uNQzpHgRi9Djc/6Fh9Nu51LiMHLuglj054v4h/y9J7Bmw7GXq/pY6t2eeJA== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, 07 Sep 2023 12:33:46 -0400, Jeff Layton wrote: > The kernel test robot noted some test failures with the LTP mount03 test > on tmpfs. From the test output, it looked like the atime had gone > backward. > > One way this could happen would be for tmpfs to get a new inode from the > slab that had a ctime that appeared to be in the future. > inode_update_ctime_current would just return that time and then the > mtime and atime would be set to the same value. Then later, the atime > gets overwritten by "now" which is still lower than the garbage ctime > value. > > [...] Picked up so we can get some -next testing. Hopefully that test thing can verify the fix. --- 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/2] fs: initialize inode->__i_ctime to the epoch https://git.kernel.org/vfs/vfs/c/7651a330dcbd [2/2] fs: don't update the atime if existing atime is newer than "now" https://git.kernel.org/vfs/vfs/c/4c950d80d98d