Received: by 10.213.65.68 with SMTP id h4csp128660imn; Thu, 15 Mar 2018 20:04:30 -0700 (PDT) X-Google-Smtp-Source: AG47ELsY76IlNIi1ao7/Io+dshB8elxBuL2cIvzP39yd2ahZWphYAx7mCeS4eV7cTQvzw6vOUY3M X-Received: by 2002:a17:902:9045:: with SMTP id w5-v6mr291766plz.104.1521169470166; Thu, 15 Mar 2018 20:04:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521169470; cv=none; d=google.com; s=arc-20160816; b=qQRLee/Q7EsFkWBvEEDZN9CWauOTmod6YGPQD2V+NymhWF+kE9QrTU9niTABGTttyN SZ5EzQbqbQTRBZmdSLIpN/NYu26OJWtWTggDXZDMGJmTv1dFcQAKg1pG1aA5OzSQqb3z HZg3EVhU7yqBC1HdZSqIQNxPxtYXcawcX5KKZPJTRu/l8M53mclHDkxXQr+jLzfRrtCO 9Fl9JQ6tHpZcXjp50uuSoolN4tCWcVcTyxPyDwzr5ju0sIewtUL+yUKCgC0aORR4dacR PTVIewR9JaOFeAcvOKMJu/8XZQfeF2l6dt9K5zUU060TZ6UYx7CsKuiklxzYq3a38f2R ul0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=k56SPp7oPEYWPRWmwnqqfMOn3SLOeJT+vnyVYUwREDo=; b=sArFNYPTTXltD715V2j0Ss2PDByGsgDgj4kwZxPxauyYjQcBNUQ3njBsK8aE62NIjJ 6RnxUj29TDGQLY/xEtU+yqN2HxqB5rOMBmpsQFaQCHsh7nf+9fhU+Y/Drhml1AGI79xV 5lzecarHCFBJGvJ5sXpC2bmbyFmqrHeYmAMWxY8UtgY2ya8MkLBRDV7oDp/QUEKOMQPc BpcCFTh+vX14PNBdqAkTsefWiJTiuSZUrXZBkx1JAEDB+50vgjnPPNSvLfxdPzseyoeS yEA/eM+xwh3brfFnGsLFO+PH4JBXDDxcjnTeYn0wyKqK+FALIPgG/ZdlEuH2i/bTn3Sr GYuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=sAE0mgZG; 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 185si4318982pgd.561.2018.03.15.20.04.16; Thu, 15 Mar 2018 20:04:30 -0700 (PDT) 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=@thunk.org header.s=ef5046eb header.b=sAE0mgZG; 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 S933242AbeCPDCd (ORCPT + 99 others); Thu, 15 Mar 2018 23:02:33 -0400 Received: from imap.thunk.org ([74.207.234.97]:46172 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752244AbeCPDCc (ORCPT ); Thu, 15 Mar 2018 23:02:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=k56SPp7oPEYWPRWmwnqqfMOn3SLOeJT+vnyVYUwREDo=; b=sAE0mgZGz1kOP04xnPgYLo6E9U CnckMB7tJtgadGUdgM8DNoPUbQWRhduCSQGVeeAES8O8N2/g+4MBHePMabIUFyohkcLOpRObXExFh Wc2quCWeQp0GJ8pNhZ0gGLQ0/JA5DeHrjmhg3cBALVdH6mDY/l1TXcgnUQrv75+t/rtI=; Received: from root (helo=callcc.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.89) (envelope-from ) id 1ewfac-0003lC-2D; Fri, 16 Mar 2018 02:59:30 +0000 Received: by callcc.thunk.org (Postfix, from userid 15806) id 023427A4289; Thu, 15 Mar 2018 22:59:28 -0400 (EDT) Date: Thu, 15 Mar 2018 22:59:28 -0400 From: "Theodore Y. Ts'o" To: Arnd Bergmann Cc: Andiry Xu , "Darrick J. Wong" , Linux FS Devel , Linux Kernel Mailing List , "linux-nvdimm@lists.01.org" , Dan Williams , "Rudoff, Andy" , coughlan@redhat.com, Steven Swanson , Dave Chinner , Jan Kara , swhiteho@redhat.com, miklos@szeredi.hu, Jian Xu , Andiry Xu Subject: Re: [RFC v2 03/83] Add super.h. Message-ID: <20180316025928.GB2254@thunk.org> Mail-Followup-To: "Theodore Y. Ts'o" , Arnd Bergmann , Andiry Xu , "Darrick J. Wong" , Linux FS Devel , Linux Kernel Mailing List , "linux-nvdimm@lists.01.org" , Dan Williams , "Rudoff, Andy" , coughlan@redhat.com, Steven Swanson , Dave Chinner , Jan Kara , swhiteho@redhat.com, miklos@szeredi.hu, Jian Xu , Andiry Xu References: <1520705944-6723-1-git-send-email-jix024@eng.ucsd.edu> <1520705944-6723-4-git-send-email-jix024@eng.ucsd.edu> <20180315045401.GB4860@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 15, 2018 at 09:38:29PM +0100, Arnd Bergmann wrote: > > You could also have a resolution of less than a nanosecond. Note > that today, the file time stamps generated by the kernel are in > jiffies resolution, so at best one millisecond. However, most modern > file systems go with the 64+32 bit timestamps because it's not all > that expensive. It actually depends on the architecture and the accuracy/granularity of the timekeeping hardware available to the system, but it's possible for the granularity of file time stamps to be up to one nanosecond. So you can get results like this: % stat unix_io.o File: unix_io.o Size: 55000 Blocks: 112 IO Block: 4096 regular file Device: fc01h/64513d Inode: 19931278 Links: 1 Access: (0644/-rw-r--r--) Uid: (15806/ tytso) Gid: (15806/ tytso) Access: 2018-03-15 18:09:21.679914182 -0400 Modify: 2018-03-15 18:09:21.639914089 -0400 Change: 2018-03-15 18:09:21.639914089 -0400 Cheers, - Ted