Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142884727
D22009.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D22009.diff
View Options
Index: head/sys/kern/vfs_subr.c
===================================================================
--- head/sys/kern/vfs_subr.c
+++ head/sys/kern/vfs_subr.c
@@ -4395,6 +4395,9 @@
CTR2(KTR_VFS, "%s: mp %p", __func__, mp);
+ if ((mp->mnt_kern_flag & MNTK_NOMSYNC) != 0)
+ return;
+
MNT_VNODE_FOREACH_ACTIVE(vp, mp, mvp) {
obj = vp->v_object;
if (obj != NULL && (obj->flags & OBJ_MIGHTBEDIRTY) != 0 &&
Index: head/sys/sys/mount.h
===================================================================
--- head/sys/sys/mount.h
+++ head/sys/sys/mount.h
@@ -396,6 +396,7 @@
#define MNTK_UNMOUNTF 0x00000001 /* forced unmount in progress */
#define MNTK_ASYNC 0x00000002 /* filtered async flag */
#define MNTK_SOFTDEP 0x00000004 /* async disabled by softdep */
+#define MNTK_NOMSYNC 0x00000008 /* don't do vfs_msync */
#define MNTK_DRAINING 0x00000010 /* lock draining is happening */
#define MNTK_REFEXPIRE 0x00000020 /* refcount expiring is happening */
#define MNTK_EXTENDED_SHARED 0x00000040 /* Allow shared locking for more ops */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 25, 11:34 AM (9 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27893126
Default Alt Text
D22009.diff (1 KB)
Attached To
Mode
D22009: vfs: add MNTK_NOMSYNC
Attached
Detach File
Event Timeline
Log In to Comment