Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp298874pxm; Wed, 2 Mar 2022 15:47:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKOG0NSuaa5iQBgYW+MEWKXGcG0fsGOy5LNt2wv129aJQcMaFYi0RaHJgpGSUeEdSVeHax X-Received: by 2002:a17:90a:7085:b0:1bd:3db8:6597 with SMTP id g5-20020a17090a708500b001bd3db86597mr2318071pjk.86.1646264856647; Wed, 02 Mar 2022 15:47:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646264856; cv=none; d=google.com; s=arc-20160816; b=oqJewGpGZCvDm1kG6OW7fTQdqo7derEXGXFJMZHcSU64piCd43pmW8s3GN+cOnxxSs v0VR4XxKqO44W3csfSPtXF+llkHy+HPUKcN7rtmtdd3RBroo6mgu9YapXLxZcN/q70tO vQClwZh1rxpo2rdw9ULrKZ99MbbgEdYTRReA8KpMJxIWrFUubxqFGzqzD7bVBDg1+M5N apf4ZgKYbH0+kHdXVhu71Dlh35+SetREW7xdl9Wzy7rBitZ55Ft7zCSQzA7aKfiyEEo+ jqvF7010y6mEQEyClJSTA7mEyt86Jll1CWwcTHANXZKUUCrj+fX7mMaP4bOQp4IqtBHI gMAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=hcnRInHyT7AqsJ1AJbefJWd13NGYBwYyXEFZcHJATbY=; b=BEiWTrPU+NYR/h2rcyp57YEsUNpWPZwS5r081ThdZhWGWqMyvmTRlrA3MCLXJHnlIQ EiAYpRBphIM+S99OhAk5l4RvvUmRnR2MgguDHS2JYdqzTTzEJ/iBjV3VILxu4VEpr0Tn brwbdklL2lcxOYP4XSeg3d8687Dxj6X0Ap0hARaV42IyrQZyprLwbCuRAMmJB3cohVNN HtCcfN6usUhmbtZskdRmdRXazwET6jr8fCSDCd6LtoWxMllfu19K1PMrL+HV0B5Mlgyw 5aerG6cIp/GU/gzasXJVctVVz+kxSBiUYs87GmIiyJLqybW+97xI/mQ1V07VLP0Mji8T wDBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=j0T2nJV0; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f5-20020a17090a654500b001bd57c8ac91si6626028pjs.185.2022.03.02.15.47.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 15:47:36 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=j0T2nJV0; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7112A17288C; Wed, 2 Mar 2022 15:11:44 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243004AbiCBUS2 (ORCPT + 99 others); Wed, 2 Mar 2022 15:18:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241242AbiCBUS0 (ORCPT ); Wed, 2 Mar 2022 15:18:26 -0500 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFD253A5F6 for ; Wed, 2 Mar 2022 12:17:41 -0800 (PST) Received: by mail-qt1-x82c.google.com with SMTP id c4so2750587qtx.1 for ; Wed, 02 Mar 2022 12:17:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:in-reply-to:message-id:references :mime-version; bh=hcnRInHyT7AqsJ1AJbefJWd13NGYBwYyXEFZcHJATbY=; b=j0T2nJV0lnpbMZflp0bT2kBk63Dknl3cqydm9aqeygJbgE3IkKBjdC82QQ8nkvKXbY NTvZqdF1iUMksdrNCokctJXUXPglExlbh8OwW8bnSqP+Z5+mqofO2fM1lCDvMUXxGr8q xJfABQHw/+Fj79Nvn+cXKLnUfnvrzJznQGygzwYAnclvshXNEzUkwI0DUJPQsgO+yAih 9BQ8yITfMIsOTTI4XrpgRXP9vAjgqh0UYxXUUNO4XOSPfbmiMCLJQwLQV83+Ke43m27C rjY2pw2TRMJbNg5phgYc2OcZYX9eI/JYFwmYmd9rlGscr1n/IZrZDojs5okmwwRsdvgY CQbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version; bh=hcnRInHyT7AqsJ1AJbefJWd13NGYBwYyXEFZcHJATbY=; b=QHm+5WyLZTgXrD5dZv6YAjk7DaUAP2EoRgTdbSOdRGBP5K6yT/mukBLc5qRKSkX0ox 8yyY4rtBtHLkxdBgYfxGdqAcxUcCtjiuf8ZD8+yA6g0+Kp0TsrXa2mDRleMQ5iiCqWUt 4IG8MmN9/hqikwxuXSvx5ptritwf2BuT2IkGwF0ICag1QS8hI4OzFU5/Y/ksaUQAM5ro DU4P6aKWkJk47W5c9hXvvJYFNolpz9BxKy8zj1d4edOEezq7A6HyuXr7bZ4ZKp0DRAhN bUOfhKvmxjr36nTVqqZSwAs1uaZyHfsT7IK5Xb8GSTx1oqCfPEXB094WZk156awM38PL SEdQ== X-Gm-Message-State: AOAM531/vxqSyIHgP8+Tj/Y5c0iFVvxrYnmCgKkDgOmedFO0hn0YlCql gHnbJdEKtaB7Owmb9co8k1JwU3LCWtAC6w== X-Received: by 2002:a05:622a:1046:b0:2de:4c2b:96c8 with SMTP id f6-20020a05622a104600b002de4c2b96c8mr24656420qte.141.1646252260655; Wed, 02 Mar 2022 12:17:40 -0800 (PST) Received: from ripple.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id y18-20020a05622a165200b002dda08f1371sm2317qtj.0.2022.03.02.12.17.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 12:17:39 -0800 (PST) Date: Wed, 2 Mar 2022 12:17:30 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@ripple.anvils To: Linus Torvalds cc: Xavier Roche , Linux Kernel Mailing List , Hugh Dickins , Andrew Morton , Jean Delvare , Linux-MM Subject: Re: [PATCH v3] tmpfs: support for file creation time In-Reply-To: Message-ID: References: <20220211213628.GA1919658@xavier-xps> <20220211213628.GA1919658@xavier-xps> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 Mar 2022, Linus Torvalds wrote: > On Mon, Feb 28, 2022 at 12:43 AM Xavier Roche wrote: > > > > Various filesystems (including ext4) now support file creation time. > > This patch adds such support for tmpfs-based filesystems. Please ignore this patch for now: I presume Xavier did not understand the "from akpm to Linus in next merge window" flow, and thought he had to resend the patch to you. > > What's the odd huge-page noise in this patch? That was one of the fixups I added, which akpm is holding in a -fix patch to be merged in, and maybe he'll include my comment from it: 3. Using shmem_getattr() on other file types than regular requires that shmem_is_huge() check type, to stop incorrect HPAGE_PMD_SIZE blksize. (shmem_getattr() was only on regular files before: Xavier's patch added it to directories etc, to provide btime for them too; but shmem_getattr() can also include a dubious adjustment to blksize.) > > Other oddities: > > Reply-To: b954973a-b8d1-cab8-63bd-6ea8063de3@google.com > > WHAT? No comment from me. > > And finally - if we really want to treat btime as a first-class entity > and expect things like tmpfs to support it, then we should just bite > the bullet and put it in 'struct inode' along with the other times. I've no objection if someone does that later. I've no investment in btime myself (my instinctive reaction was, is this thing worth another 16 bytes of inode space?), but Xavier thought it worth doing, and Andrew worth taking, so go with the flow. Ah, Andrew has replied meanwhile, I hope I'm not contradicting! Hugh