FreeBSD Bugzilla – Attachment 16979 Details for
Bug 30971
[nfs] NFS client modification time resolution is not high enough, which may cause client side cache inconsistent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.24 KB, created by
Wencheng Chai
on 2001-10-01 23:30:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Wencheng Chai
Created:
2001-10-01 23:30:00 UTC
Size:
1.24 KB
patch
obsolete
>*** /usr/src/sys/nfs/nfs_subs.c Sat Feb 12 19:32:06 2000 >--- nfs_subs.c Wed Sep 12 03:46:13 2001 >*************** >*** 1285,1290 **** >--- 1285,1292 ---- > addaliasu(vp, rdev); > } > np->n_mtime = mtime.tv_sec; >+ np->n_vattr.va_mtime.tv_sec = mtime.tv_sec; >+ np->n_vattr.va_mtime.tv_nsec = mtime.tv_nsec; > } > vap = &np->n_vattr; > vap->va_type = vtyp; >*************** >*** 1303,1308 **** >--- 1305,1311 ---- > fp->fa3_fileid.nfsuquad[1]); > fxdr_nfsv3time(&fp->fa3_atime, &vap->va_atime); > fxdr_nfsv3time(&fp->fa3_ctime, &vap->va_ctime); >+ fxdr_nfsv3time(&fp->fa3_mtime, &vap->va_mtime); > vap->va_flags = 0; > vap->va_filerev = 0; > } else { >*************** >*** 1315,1320 **** >--- 1318,1324 ---- > * NFS_FABLKSIZE; > vap->va_fileid = fxdr_unsigned(int32_t, fp->fa2_fileid); > fxdr_nfsv2time(&fp->fa2_atime, &vap->va_atime); >+ fxdr_nfsv2time(&fp->fa2_mtime, &vap->va_mtime); > vap->va_flags = 0; > vap->va_ctime.tv_sec = fxdr_unsigned(u_int32_t, > fp->fa2_ctime.nfsv2_sec);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 30971
: 16979 |
16980