From: "J. Bruce Fields" <bfields@fieldses.org>
To: Peter Staubach <staubach@redhat.com>
Cc: Neil Brown <neilb@suse.de>, NFS List <nfs@lists.sourceforge.net>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Trond Myklebust <trond.myklebust@fys.uio.no>
Subject: Re: [PATCH] NFS server does not update mtime on setattr request
Date: Wed, 7 Jun 2006 11:42:58 -0400 [thread overview]
Message-ID: <20060607154258.GA22335@fieldses.org> (raw)
In-Reply-To: <4486F020.3030707@redhat.com>
On Wed, Jun 07, 2006 at 11:26:24AM -0400, Peter Staubach wrote:
> J. Bruce Fields wrote:
> >What's the basis for that interpretation? The language seems extremely
> >clear:
> >
> > "On successful completion, if the file size is changed, these
> > functions will mark for update the st_ctime and st_mtime fields
> > of the file, and if the file is a regular file, the S_ISUID and
> > S_ISGID bits of the file mode may be cleared."
> >
> >Why are you concerned about this? Do you have an actual application
> >that breaks?
>
> Yes, there is a customer who is quite unhappy that the semantics over Linux
> client NFS are different than those of BSD, Solaris, and local file system
> access on Linux itself. The basis for my work is based on a bugzilla from
> this customer.
OK; just out of curiosity, what's the url/bug number/whatever?
> My interpretation is based on looking at the local behavior on Linux, which
> changes mtime/ctime even if the file size does not change, and SunOS, which
> changes mtime/ctime even if the file size does not change and is very
> heavily SUSv3 compliant.
Fair enough.
> In this case, "changed" does not mean "made different". It simply means
> that the file size is set to the new value.
That's ridiculous, though; that's just not what "changed" means, and
that renders the "if" clause redundant. Better just to say "SUS is
wrong, and this is what everybody actually does...."
--b.
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
WARNING: multiple messages have this Message-ID (diff)
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Peter Staubach <staubach@redhat.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>,
Neil Brown <neilb@suse.de>, NFS List <nfs@lists.sourceforge.net>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [NFS] [PATCH] NFS server does not update mtime on setattr request
Date: Wed, 7 Jun 2006 11:42:58 -0400 [thread overview]
Message-ID: <20060607154258.GA22335@fieldses.org> (raw)
In-Reply-To: <4486F020.3030707@redhat.com>
On Wed, Jun 07, 2006 at 11:26:24AM -0400, Peter Staubach wrote:
> J. Bruce Fields wrote:
> >What's the basis for that interpretation? The language seems extremely
> >clear:
> >
> > "On successful completion, if the file size is changed, these
> > functions will mark for update the st_ctime and st_mtime fields
> > of the file, and if the file is a regular file, the S_ISUID and
> > S_ISGID bits of the file mode may be cleared."
> >
> >Why are you concerned about this? Do you have an actual application
> >that breaks?
>
> Yes, there is a customer who is quite unhappy that the semantics over Linux
> client NFS are different than those of BSD, Solaris, and local file system
> access on Linux itself. The basis for my work is based on a bugzilla from
> this customer.
OK; just out of curiosity, what's the url/bug number/whatever?
> My interpretation is based on looking at the local behavior on Linux, which
> changes mtime/ctime even if the file size does not change, and SunOS, which
> changes mtime/ctime even if the file size does not change and is very
> heavily SUSv3 compliant.
Fair enough.
> In this case, "changed" does not mean "made different". It simply means
> that the file size is set to the new value.
That's ridiculous, though; that's just not what "changed" means, and
that renders the "if" clause redundant. Better just to say "SUS is
wrong, and this is what everybody actually does...."
--b.
next prev parent reply other threads:[~2006-06-07 15:43 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-06 18:05 [PATCH] NFS server does not update mtime on setattr request Peter Staubach
2006-06-07 5:38 ` Trond Myklebust
2006-06-07 5:38 ` Trond Myklebust
2006-06-07 14:44 ` Peter Staubach
2006-06-07 14:44 ` Peter Staubach
2006-06-07 15:17 ` J. Bruce Fields
2006-06-07 15:17 ` [NFS] " J. Bruce Fields
2006-06-07 15:26 ` Peter Staubach
2006-06-07 15:39 ` Trond Myklebust
2006-06-07 15:39 ` [NFS] " Trond Myklebust
2006-06-07 15:44 ` Peter Staubach
2006-06-07 15:44 ` [NFS] " Peter Staubach
2006-06-07 17:17 ` Trond Myklebust
2006-06-07 17:41 ` Peter Staubach
2006-06-07 15:42 ` J. Bruce Fields [this message]
2006-06-07 15:42 ` J. Bruce Fields
2006-06-07 15:50 ` Peter Staubach
2006-06-07 16:03 ` J. Bruce Fields
2006-06-07 16:56 ` Peter Staubach
2006-06-07 16:56 ` [NFS] " Peter Staubach
2006-06-07 15:28 ` reservas
2006-06-09 0:40 ` Neil Brown
2006-06-09 0:40 ` [NFS] " Neil Brown
2006-06-09 13:10 ` Peter Staubach
2006-06-09 13:10 ` [NFS] " Peter Staubach
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=20060607154258.GA22335@fieldses.org \
--to=bfields@fieldses.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@suse.de \
--cc=nfs@lists.sourceforge.net \
--cc=staubach@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.