Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2009 16:46:16 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/ufs/ufs dinode.h inode.h ufs_vnops.c
Message-ID:  <200904271646.n3RGkK5R083431@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rmacklem    2009-04-27 16:46:16 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ufs          dinode.h inode.h ufs_vnops.c 
  Log:
  SVN rev 191564 on 2009-04-27 16:46:16Z by rmacklem
  
          Change the semantics of i_modrev/va_filerev to what is required for
          the nfsv4 Change attribute. There are 2 changes:
          1 - The value now changes on metadata changes as well as data
              modifications (incremented for IN_CHANGE instead of IN_UPDATE).
          2 - It is now saved in spare space in the on-disk i-node so that it
              survives a crash.
          Since va_filerev is not passed out into user space, the only current
          use of va_filerev is in the nfs server, which uses it as the directory
          cookie verifier. Since this verifier is only passed back to the server
          by a client verbatim and then the server doesn't check it, changing the
          semantics should not break anything currently in FreeBSD.
  
  Reviewed by:    bde
  Approved by:    kib (mentor)
  
  Revision  Changes    Path
  1.18      +3 -2      src/sys/ufs/ufs/dinode.h
  1.56      +0 -1      src/sys/ufs/ufs/inode.h
  1.312     +3 -3      src/sys/ufs/ufs/ufs_vnops.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904271646.n3RGkK5R083431>