aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mount.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2019-10-22 16:21:24 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2019-10-22 16:21:24 +0000
commit5b87ecc64389a46e058212f2b9e53df929600b35 (patch)
tree05c117aa8cd6bd76279232e8efbf19f79b8680bc /sys/sys/mount.h
parentc6ba06d86c86901a3319272ade8476d249ec184b (diff)
downloadsrc-5b87ecc64389a46e058212f2b9e53df929600b35.tar.gz
src-5b87ecc64389a46e058212f2b9e53df929600b35.zip
Assert that vnode_pager_setsize() is called with the vnode exclusively locked
except for filesystems that set the MNTK_VMSETSIZE_BUG, Set the flag for ZFS. Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D21883
Notes
Notes: svn path=/head/; revision=353892
Diffstat (limited to 'sys/sys/mount.h')
-rw-r--r--sys/sys/mount.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index 53a776454bcd..cca69cf4c5e3 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -411,6 +411,7 @@ void __mnt_vnode_markerfree_active(struct vnode **mvp, struct mount *);
#define MNTK_UNMAPPED_BUFS 0x00002000
#define MNTK_USES_BCACHE 0x00004000 /* FS uses the buffer cache. */
#define MNTK_TEXT_REFS 0x00008000 /* Keep use ref for text */
+#define MNTK_VMSETSIZE_BUG 0x00010000
#define MNTK_NOASYNC 0x00800000 /* disable async */
#define MNTK_UNMOUNT 0x01000000 /* unmount in progress */
#define MNTK_MWAIT 0x02000000 /* waiting for unmount to finish */