diff options
author | kib <kib@FreeBSD.org> | 2012-03-09 00:12:05 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-03-09 00:12:05 +0000 |
commit | 5abd2bb7cbd2cc42a6de61b0ed4363777f59a304 (patch) | |
tree | 91f6644869a5d433f2a4ca2bb1e439ef620788cb /sys/sys/mount.h | |
parent | f9172f43af2ac202a68fdef4aa01e354929d73e2 (diff) | |
download | FreeBSD-src-5abd2bb7cbd2cc42a6de61b0ed4363777f59a304.zip FreeBSD-src-5abd2bb7cbd2cc42a6de61b0ed4363777f59a304.tar.gz |
Decomission mnt_noasync. Introduce MNTK_NOASYNC mnt_kern_flag which
allows a filesystem to request VFS to not allow MNTK_ASYNC.
MFC after: 1 week
Diffstat (limited to 'sys/sys/mount.h')
-rw-r--r-- | sys/sys/mount.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h index f68a046b..2b6041e 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -167,7 +167,6 @@ struct mount { int mnt_writeopcount; /* (i) write syscalls pending */ int mnt_kern_flag; /* (i) kernel only flags */ uint64_t mnt_flag; /* (i) flags shared with user */ - u_int mnt_noasync; /* (i) # noasync overrides */ struct vfsoptlist *mnt_opt; /* current mount options */ struct vfsoptlist *mnt_optnew; /* new options passed to fs */ int mnt_maxsymlinklen; /* max size of short symlink */ @@ -325,6 +324,7 @@ void __mnt_vnode_markerfree(struct vnode **mvp, struct mount *mp); #define MNTK_REFEXPIRE 0x00000020 /* refcount expiring is happening */ #define MNTK_EXTENDED_SHARED 0x00000040 /* Allow shared locking for more ops */ #define MNTK_SHARED_WRITES 0x00000080 /* Allow shared locking for writes */ +#define MNTK_NOASYNC 0x00800000 /* disable async */ #define MNTK_UNMOUNT 0x01000000 /* unmount in progress */ #define MNTK_MWAIT 0x02000000 /* waiting for unmount to finish */ #define MNTK_SUSPEND 0x08000000 /* request write suspension */ |