diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2009-04-27 16:46:16 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2009-04-27 16:46:16 +0000 |
commit | 84d9dc09c063c35c5f8d02fc19eab70bd40d6d35 (patch) | |
tree | 218d7a9262bb20ab5f5282f971f4a7a10e019050 /release | |
parent | 0f42fae270d1c583a2504c39964d864f0de67dac (diff) | |
download | FreeBSD-src-84d9dc09c063c35c5f8d02fc19eab70bd40d6d35.zip FreeBSD-src-84d9dc09c063c35c5f8d02fc19eab70bd40d6d35.tar.gz |
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)
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions