Linux NFS development
 help / color / mirror / Atom feed
From: Tavis Barr <tb62@columbia.edu>
To: nfs@lists.sourceforge.net
Subject: [Fwd: Re: NFS-HOWTO]
Date: 19 Mar 2002 13:18:22 -0500	[thread overview]
Message-ID: <1016561902.2031.23.camel@vaio> (raw)

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]


Andrew Ryan had a good question for me below that I don't know the
answer to.  When a file gets modified and left the same size twice
within one second, its mtime stays the same and all other attributes
stay the same, so the NFS server does not see that it has been altered. 
At least this is my understanding of the bug.  Some things that I don't
know because I'm not familiar enough with the NFS internals:

*What data structure reflects that the file has been altered?  Is it the
inode number, or some field within the inode?
*This was supposedly a 2.5 fix item; the issue is that mtime does not
have a granularity finer than one second.  What subsystem does the fix
go into?  The VFS layer?  Has there been any work done on it?


Thanks,
Tavis


[-- Attachment #2: Forwarded message - Re: [NFS] NFS-HOWTO --]
[-- Type: message/rfc822, Size: 2304 bytes --]

From: Andrew Ryan <andrewr@collab.net>
To: Tavis Barr <tb62@columbia.edu>
Subject: Re: [NFS] NFS-HOWTO
Date: Sat, 16 Mar 2002 10:38:42 -0800
Message-ID: <3C939132.F11E3D66@collab.net>

Nice job on the FAQ. It's been helpful for us setting up our NFS clients.

In 7.10, "File Corruption When Using Multiple Clients", you state that "If a
file has been modified within one second of its previous modification and left
the same size, it will continue to generate the same inode number." I don't
understand this statement -- it seems to me that the inode number of a file
should not change when a file is modified. I can see the mtime changing, but
not the inode number.

Also, this bug is new to me -- it's not in the previous NFS HOWTO, and I think
it deserves a lot more explanation as to why it happens now and also some
ideas for workarounds, both in 2.5 (where it will presumably be solved the
right way) and before 2.5 (where perhaps there is a hack that could be
applied).

Finally, is this bug a client-side bug, or does it just affect people using
linux as an NFS server?


thanks,
andrew
p.s. It would be nice if you could get the Netapp folks to contribute a
section in the interop chapter.


Tavis Barr wrote:

> Attached is a draft of the latest NFS-HOWTO, in HTML format.  (Put it
> all in the same directory and go to index.html).  Comments welcome.
>
> Cheers,
> Tavis

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

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

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=1016561902.2031.23.camel@vaio \
    --to=tb62@columbia.edu \
    --cc=nfs@lists.sourceforge.net \
    /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