path: root/sys/sys/mount.h
diff options
authorMateusz Guzik <mjg@FreeBSD.org>2020-01-07 15:56:24 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-01-07 15:56:24 +0000
commitc8b3463dd08cc2dcad37820d2c7a1ca036c0bf21 (patch)
treef040757376fe2b172fb8a9bd1e8bc37abbdbad4f /sys/sys/mount.h
parentb7cc9d1847c8459a3fbdd118e3b25477c2d602bd (diff)
vfs: reimplement deferred inactive to use a dedicated flag (VI_DEFINACT)
The previous behavior of leaving VI_OWEINACT vnodes on the active list without a hold count is eliminated. Hold count is kept and inactive processing gets explicitly deferred by setting the VI_DEFINACT flag. The syncer is then responsible for vdrop. Reviewed by: kib (previous version) Tested by: pho (in a larger patch, previous version) Differential Revision: https://reviews.freebsd.org/D23036
Notes: svn path=/head/; revision=356441
Diffstat (limited to 'sys/sys/mount.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index cca69cf4c5e3..7ec681dbac00 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -396,7 +396,7 @@ void __mnt_vnode_markerfree_active(struct vnode **mvp, struct mount *);
#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_NOMSYNC 0x00000008 /* don't do 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 */
@@ -903,7 +903,7 @@ int vfs_setopts(struct vfsoptlist *opts, const char *name,
const char *value);
int vfs_setpublicfs /* set publicly exported fs */
(struct mount *, struct netexport *, struct export_args *);
-void vfs_msync(struct mount *, int);
+void vfs_periodic(struct mount *, int);
int vfs_busy(struct mount *, int);
int vfs_export /* process mount export info */
(struct mount *, struct export_args *);