Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2356365rdb; Thu, 21 Sep 2023 16:51:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFRI4bnTDe1T9bqtoFyy1FO42ezlq4gB0HyoGUdl+6t6L1/rKFaazGLEdjUb7i+7Vfwwuxl X-Received: by 2002:a05:6a21:47c1:b0:154:a1e3:f967 with SMTP id as1-20020a056a2147c100b00154a1e3f967mr5644788pzc.47.1695340292648; Thu, 21 Sep 2023 16:51:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695340292; cv=none; d=google.com; s=arc-20160816; b=yugY7QQOFhPPq9QR7zN3WJeJArJQ+gWkYDDksTrgMBg6BUg50I07erPcMB7K7gqMlE Yw4Ao+oev5Spc9KVrPtlGkechBMg7vWiGot3cdDr8czjGRdapCZZPV8ZhTMlqG/D8/ng i+XX0G5VMOFmJ2EJS23akPJ3G+4B/KKawgKLBk3k5BDibMxqQxvMAGuFcT04b7DRjTjk WP7Qs+2soiF3u+ESyVndnqiSgGS/BkixUXpbwaDr3UV8Q/Ah4qADCSpyPO9eF+WZ3Teq WXObjX5cWKapGiOokt9gdVmMn/MjkAymnHnYHgFvh/2vP1zLAfZuPybnKfmx0zGuC1XH 51Xw== 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=PBK/gazFsyzXOKB+rBrmhryzG1knngQqKvlNh1yC244=; fh=0ys7g7Jlm9Q5LHSOcTMkUShsb3IdmjxuCZ/AIjazmxs=; b=epc/JLNUJWEk20ZwF+jELy8CsM8zVkUxcvsP7gVPnSf7rpI1kkKX/Ml8L4TInu9rkV Bl4ZgD3eAg/5RzQu+dAPxY2L10Jv0QdD0Zy25an28qzWQe2m9s+E1lVHHcKHzcW7RVu9 xZB/uWiFyyoiyXeCCoQxyLh/mo2fa9+FnNYL5DuECn87EdIwQ+BlVvFeg2sqfm16AiiI dOpC9WXe/S+SCbg8IxVWYnitfJPDMmmZ9U6yFuZvTPXlmm+sQKCWEtByBvhaS/QuJubK 3Yk5QlecOcEESelCItdvznhWWJoNMphnzfxkT3g5+JZ2SljjZuxNkhkaG8jVQ7P97DQ5 p/Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="EsADxX/l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id e17-20020a17090301d100b001c1e1fe16c7si2841209plh.236.2023.09.21.16.51.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 16:51:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="EsADxX/l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 009A78390029; Thu, 21 Sep 2023 12:56:43 -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 S229969AbjIUT4i (ORCPT + 99 others); Thu, 21 Sep 2023 15:56:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230114AbjIUT4R (ORCPT ); Thu, 21 Sep 2023 15:56:17 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9255DA9F0 for ; Thu, 21 Sep 2023 12:46:54 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-502e7d66c1eso2325104e87.1 for ; Thu, 21 Sep 2023 12:46:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1695325612; x=1695930412; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=PBK/gazFsyzXOKB+rBrmhryzG1knngQqKvlNh1yC244=; b=EsADxX/l8bpSbBR0dOwOGRhFA/s32coC4juMuGu8Ot+SRhWVPckVxv5JqDr9TDrCPd nXd+sCZGp9thaoONzvgcToC98HSNv1oBvfAUH+NUpHKDtYu6+TXZWE5aNsqoeWVKI6pB POx0yugFS+EPmoHsXcwLnTmNZYGNgY5WU6nzs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695325612; x=1695930412; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PBK/gazFsyzXOKB+rBrmhryzG1knngQqKvlNh1yC244=; b=EKbAYUBiBMD9xi3oZn/SXB23hAdd9o3d31ipMljrtNvemkVKoPApCw3ygw8lqISWxg 3uPvK9+gZwDqhD9VvblfLI3mnb0Cpcp93SLIQDCtJ3lJ19I/+xxzMxOde2Ibxumkta+U P7BiDNt1cjcySz6tMltHPi3Z3uRCO6peIwEWhcUTMo8IBrDTXCHmm+n4IGAyqfcFJjyn 0wbfST2pZ2dzLGF5aZlCG7I1+TWWWJWotV3PUKTfm4dAYGmnzbx0lCqTNu/vfacGdoxd 8Lx0fwBQ8qOXRxgWoy3DsIHG85jB7Ote4qi5km+AdrwEi/o2B89jH1q3nNqvugkgkfSt tz6Q== X-Gm-Message-State: AOJu0YzVI4VJa3KqjIweyvpSc4utO1dQYVlL0rMoneIQD7pXQd3/wRqR aBZJJvbgPPqG0OaFyE7064bBeU9aBUGYyOBo0rnXgM/G X-Received: by 2002:a19:3813:0:b0:4ff:7046:984a with SMTP id f19-20020a193813000000b004ff7046984amr5140997lfa.7.1695325612500; Thu, 21 Sep 2023 12:46:52 -0700 (PDT) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com. [209.85.167.49]) by smtp.gmail.com with ESMTPSA id j16-20020ac24550000000b0050300e013f3sm410038lfm.254.2023.09.21.12.46.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Sep 2023 12:46:51 -0700 (PDT) Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-503f39d3236so2346163e87.0 for ; Thu, 21 Sep 2023 12:46:51 -0700 (PDT) X-Received: by 2002:a05:6512:2013:b0:502:ffdf:b098 with SMTP id a19-20020a056512201300b00502ffdfb098mr4997773lfb.6.1695325611372; Thu, 21 Sep 2023 12:46:51 -0700 (PDT) MIME-Version: 1.0 References: <20230921-umgekehrt-buden-a8718451ef7c@brauner> <0d006954b698cb1cea3a93c1662b5913a0ded3b1.camel@kernel.org> In-Reply-To: From: Linus Torvalds Date: Thu, 21 Sep 2023 12:46:34 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL v2] timestamp fixes To: Jeff Layton Cc: Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Jan Kara Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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]); Thu, 21 Sep 2023 12:56:43 -0700 (PDT) On Thu, 21 Sept 2023 at 12:28, Linus Torvalds wrote: > > And that's ok when we're talking about times that are kernel running > times and we haev a couple of centuries to say "ok, we'll need to make > it be a bigger type", Note that the "couple of centuries" here is mostly the machine uptime, not necessarily "we'll need to change the time in the year 2292". Although we do also have "ktime_get_real()" which is encoding the whole "nanoseconds since 1970". That *will* break in 2292. Anyway, regardless, I am *not* suggesting that ktime_t would be useful for filesystems, because of this issue. I *do* suspect that we might consider a "tenth of a microsecond", though. Resolution-wise, it's pretty much in the "system call time" order of magnitude, and if we have Linux filesystems around in the year-31k, I'll happily consider it to be a SEP thing at that point ("somebody else's problem"). Linus