Re: [NFS] [PATCH] NFS server does not update mtime on setattr request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trond Myklebust wrote:

On Wed, 2006-06-07 at 11:44 -0400, Peter Staubach wrote:

I am curious about how this would break truncate?

According to SuSv43, truncate should result in changes to
mtime/ctime/suid/sgid if and only if the file size changes. The
combination of disabling the client caching and always setting
mtime/ctime on the server will therefore clearly break truncate.


Okay, I see that.

Someone should probably alert the Solaris folks that they might have a bug in their NFS clients. I suspect that they are only sending over the size element in some of the over the wire SETATTR calls when they really should be sending
the size and mtime elements.  This might head off a potential customer issue
where they blaim Linux instead of Solaris.

   Thanx...

      ps
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux