Re: 2.3.99-pre3 NFS unmount/mount kmem_create error

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Fri Mar 31 2000 - 05:20:42 EST


>>>>> " " == Tom Holroyd <tomh@po.crl.go.jp> writes:

> hp1:/m on /m type nfs
> (rw,nosuid,nodev,rsize=1024,wsize=1024,intr,addr=xxx.yyy.zz.ww,user=tomh)

> cp -a /usr/src/linux/ /m/tmp/moo

> Mar 31 18:00:23 holly kernel: nfs_writepage_sync: prior time??
> Mar 31 18:00:54 holly last message repeated 1711 times Mar 31
> 18:01:55 holly last message repeated 3159 times etc..

It's a dud (i.e. your server has not moved 1711 seconds into the
past).

The problem is that the comparison itself is flawed:

  fattr.mtime.seconds is an unsigned 32-bit integer
  inode->i_mtime is a signed long.

so the fattr.mtime.seconds is being promoted, and is gaining a
negative sign.

As I said: pre4 gets rid of this sort of madness.

Cheers,
  Trond

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:29 EST