Received: by 10.223.176.46 with SMTP id f43csp436444wra; Fri, 26 Jan 2018 01:05:40 -0800 (PST) X-Google-Smtp-Source: AH8x22628yed43a19lLljUji6rRkgHv89XoWYZ3GnSRC0ZrFEH+CSHM/xHdAmnJj5xnZcwy92NbC X-Received: by 10.98.152.149 with SMTP id d21mr18571805pfk.108.1516957540360; Fri, 26 Jan 2018 01:05:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516957540; cv=none; d=google.com; s=arc-20160816; b=Gbw/kmuZX22jA+BS/B9MLpmWlXqZChDMWgYSTpMYijCEyMqWUtGhVO+QA/KF14RwLm e5pXCdqjxm2qE65RwRLTUKFOv9trySTErRFcw9lvuyksB76wAnffCz+mUF73uwPQDozn p/B1lWkPcqsbTCzwVa3u5XVodBFumU1iWNDrAV6miupWM5HBav31/t8gCPPQdDH1iX0v tiTgFveBzH8kdztldsS1vvC/905HxeYPpjAujaf4fy6iDbBOJowBerct6waP0YKf8IMr 1zLFwGn5wCSIlBFCnD8shN/TWzCfIopXVYoAM1BMt6TGQToniTZq+0fytXCcEJiTMgEV GCig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=bpZC8XtPRGsM+ozV8xNLktjuDtgCBWgO2tIw0R5wVTA=; b=TpFBYEV96eGDdQZgo7wGC8WtcnSB5U40nlMeSM0xCU89dCzsscPpzHZ5D6IIxIKY7y O2ANW8eJLQejWmKlLXDPdZb7ld1uPjRyqA9xwd9tBjdIRShcRDXLFSSfIEKr9wQkfI41 iMcfqPMoqNIjY9S6UFqOv4qGl47z2JJhTE7rZMgIaF5nswmCrb21oe4YnuRhDJ7Sj24I sinomLvM5/3IEBJNhRNkEhxu7lUCqotM6HK+zI1Dy2AqT1qEjI4m+BACqZGv9+s/TOQO k5zdFDfaTdhl71kyFM0X+rqh+SoQ62PUVNYPjxXWZW0LxWKtzLLZKaYwLuPovgxJpKfp XhpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=GG89q/hg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t190si2763707pgb.190.2018.01.26.01.05.24; Fri, 26 Jan 2018 01:05:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=GG89q/hg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752634AbeAZJEv (ORCPT + 99 others); Fri, 26 Jan 2018 04:04:51 -0500 Received: from mail-ot0-f196.google.com ([74.125.82.196]:38531 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752414AbeAZJEp (ORCPT ); Fri, 26 Jan 2018 04:04:45 -0500 Received: by mail-ot0-f196.google.com with SMTP id v5so9561634oth.5; Fri, 26 Jan 2018 01:04:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=bpZC8XtPRGsM+ozV8xNLktjuDtgCBWgO2tIw0R5wVTA=; b=GG89q/hgHno2vEzBnXVz2LUmXCppw3htlI3rl1OZM8ysdhROb4sb+zm0UFIbKSui5e 0hAWzLNeMORW6XY4m5oGtVGnY5CJi0cXfF+S/TzamfeefPGJ++npgiWNAlfVvw9IqSt+ EXNy5hi4jCp+3GTqu6uCGbV9Ve+THmyNwfKOEfmuq2n54aF0sZXezr7hvtPRZxlAF0Av MNIfp1rkA5AH5Y9+JwAUs5c9+TAbCHELjxpAXNAXUTH9Fm+BY1KsTuKvmDLJY02quRJv KPQPhPj1IUeG2hzYYdG7n8xKx9EtDlrt/2pq1ztf+WuJLHYSOmbNIXiCslqBx3rNuIrX VZcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=bpZC8XtPRGsM+ozV8xNLktjuDtgCBWgO2tIw0R5wVTA=; b=PJ4k6KykQx+BKmDeJHxT9R2g9q/AV9QLI7xh2gv22mhNC7evST75KaW2iZ4k/P1RUl A3euEXMNrW7JjVl+RaPiHQNpPSsz0UaiFkhbJcUDIZhnufZ/BMteWl/FfOSnY4kzBNof MdW+APZT0DjLcIerT4LDDCykOajmdoyt6aecWJYXxD3f/s8RAvF6b/rTYkqjYUZFvwQa G7ZDebOH0r+4Uamv9rQzcZQO21S1wmRGYPVI4BFDqe6eCRGW4zXzuXwf3qePcvZn9ofD vKoJmaZ85Sxy2bW08Q60tG6HnBQbN95FjIwr6lbSmANzT7AnNB9BklUSSXvmYrTY+jjV 5nhQ== X-Gm-Message-State: AKwxytc++UT03tMx0HZClvs5Bc2eDhyvJ9uHPRgz1d3/CyLMD0OQJ1/j ZWdHC2DonBGZ70Xhs1C57ZeaE6IkKedIZR5WXtk= X-Received: by 10.157.65.169 with SMTP id p38mr14875080ote.38.1516957484069; Fri, 26 Jan 2018 01:04:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.68.119 with HTTP; Fri, 26 Jan 2018 01:04:43 -0800 (PST) In-Reply-To: <0725a45f-45ee-7346-12ee-c3cc4b862654@landley.net> References: <1516850875-25066-1-git-send-email-takondra@cisco.com> <1516850875-25066-2-git-send-email-takondra@cisco.com> <0725a45f-45ee-7346-12ee-c3cc4b862654@landley.net> From: Arnd Bergmann Date: Fri, 26 Jan 2018 10:04:43 +0100 X-Google-Sender-Auth: _lMmWciD43NRGdg9b2q4eiW0jO8 Message-ID: Subject: Re: [PATCH v2 01/15] Documentation: add newcx initramfs format description To: Rob Landley Cc: Taras Kondratiuk , "H. Peter Anvin" , Al Viro , Mimi Zohar , Jonathan Corbet , James McMechan , initramfs@vger.kernel.org, Victor Kamensky , linux-doc@vger.kernel.org, Linux Kernel Mailing List , LSM List , xe-linux-external@cisco.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 26, 2018 at 3:39 AM, Rob Landley wrote: > The problem with 1 second timestamps was you honestly could confuse > "make" about which file was newer once an exec() could complete in the > same second having done real work. That was the motivating issue causing > the change, going to nanoseconds was just the big hammer of "this is > large enough it won't matter again in our lifetimes". But nanosecond > time stamps are recording more jitter than useful information, and that > seems unlikely to change this century? Sure, the only thing we really need the nanosecond timestamp for is to keep them identical. E.g. if you use cpio to make an exact copy of a file system, using microseconds timestamps will round all mtime values. If you then use 'rsync' to compare/update the two copies without passing a --modify-window= or --size-only, it will have to read all files in rather then skipping those with identical size and mtime. Side note: the default behavior for file systems is actually to only use the coarse timestamps of the last timer tick, so you actually do get identical timestamps in practice, plus six digits of nonsense: (on tmpfs) $ for i in {000..999} ; do > $i ; done; stat --format="%y" * | uniq -c 86 2018-01-26 10:01:48.811135084 +0100 469 2018-01-26 10:01:48.815135143 +0100 445 2018-01-26 10:01:48.819135201 +0100 Arnd