Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111620078
D38763.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
595 B
Referenced Files
None
Subscribers
None
D38763.diff
View Options
diff --git a/sys/fs/nfsclient/nfs_clvfsops.c b/sys/fs/nfsclient/nfs_clvfsops.c
--- a/sys/fs/nfsclient/nfs_clvfsops.c
+++ b/sys/fs/nfsclient/nfs_clvfsops.c
@@ -1918,14 +1918,16 @@
}
MNT_IUNLOCK(mp);
+ if (waitfor == MNT_LAZY)
+ return (0);
+
/*
* Force stale buffer cache information to be flushed.
*/
loop:
MNT_VNODE_FOREACH_ALL(vp, mp, mvp) {
/* XXX Racy bv_cnt check. */
- if (NFSVOPISLOCKED(vp) || vp->v_bufobj.bo_dirty.bv_cnt == 0 ||
- waitfor == MNT_LAZY) {
+ if (NFSVOPISLOCKED(vp) || vp->v_bufobj.bo_dirty.bv_cnt == 0) {
VI_UNLOCK(vp);
continue;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 7, 2:51 AM (13 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17023976
Default Alt Text
D38763.diff (595 B)
Attached To
Mode
D38763: nfs: patch up MNT_LAZY on sync
Attached
Detach File
Event Timeline
Log In to Comment