Linux NFS development
 help / color / mirror / Atom feed
From: "Ragnar Kjørstad" <nfs@ragnark.vestdata.no>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Tavis Barr <tb62@columbia.edu>, nfs@lists.sourceforge.net
Subject: Re: [Fwd: Re: NFS-HOWTO]
Date: Wed, 20 Mar 2002 00:06:58 +0100	[thread overview]
Message-ID: <20020320000658.I27743@vestdata.no> (raw)
In-Reply-To: <shsit7smkjj.fsf@charged.uio.no>; from trond.myklebust@fys.uio.no on Tue, Mar 19, 2002 at 08:20:32PM +0100

On Tue, Mar 19, 2002 at 08:20:32PM +0100, Trond Myklebust wrote:
>    - Changes to the individual filesystems so that they can save and
>      retrieve the extra 96 bits (=3D=3D 32 bits * (mtime + atime + ctim=
e))
>      as part of the on-disk metadata.
>      This is non-trivial, since a lot of these filesystems have not
>      got much padding left in their inodes (particularly once acls
>      etc. have grabbed their share of real-estate). Even finding 32
>      free bits is a real problem for ext[23]...

I think Ted was talking about doing a disk-format change for ext[23]
soon (to improve resizing support and to extend fields like timestamps
and link-counters).

For reiserfs adding more data in the on-disk metadata is perhaps less of
a problem than for other filesystems, because reiserfs can handle
multiple inode-types on the same filesystem. (Of course old kernels
would not work with the new format, so it's still not trivial).

I haven't checked xfs, jfs or any of the other filesystems.

> One solution might be to only keep the full 64-bit data in the VFS
> inode cache, and to zero the low 32-bits whenever we have to reload
> the metadata from the disk.
> That means that each time the file falls out of cache, then the mtime
> would appear to change on the client (which might then proceed to
> invalidate its data cache). Not entirely satisfactory, but probably
> better than nothing...

Filesystems that _do_ have support for 64-bit data on-disk could still
take advantage, right?=20


--=20
Ragnar Kj=F8rstad
Big Storage

_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

      reply	other threads:[~2002-03-19 23:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-19 18:18 [Fwd: Re: NFS-HOWTO] Tavis Barr
2002-03-19 18:47 ` Trond Myklebust
2002-03-19 19:20   ` Trond Myklebust
2002-03-19 23:06     ` Ragnar Kjørstad [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020320000658.I27743@vestdata.no \
    --to=nfs@ragnark.vestdata.no \
    --cc=nfs@lists.sourceforge.net \
    --cc=tb62@columbia.edu \
    --cc=trond.myklebust@fys.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox