aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs/ffs/softdep.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-01-31 18:39:49 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-02-12 01:02:22 +0000
commit28703d27130c9cb7e7830ff53155c379a502c248 (patch)
tree41f4fe645f58a57b7b723f5a08c3122d86344a90 /sys/ufs/ffs/softdep.h
parent2011b44fa3f2b2bd5a24be01094420cce9144b2d (diff)
downloadsrc-28703d27130c9cb7e7830ff53155c379a502c248.tar.gz
src-28703d27130c9cb7e7830ff53155c379a502c248.zip
ffs softdep: Force processing of VI_OWEINACT vnodes when there is inode shortage
Such vnodes prevent inode reuse, and should be force-cleared when ffs_valloc() is unable to find a free inode. Reviewed by: chs, mckusick Tested by: pho MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/ufs/ffs/softdep.h')
-rw-r--r--sys/ufs/ffs/softdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ufs/ffs/softdep.h b/sys/ufs/ffs/softdep.h
index 868ada00f2dc..3493aadafc98 100644
--- a/sys/ufs/ffs/softdep.h
+++ b/sys/ufs/ffs/softdep.h
@@ -1086,6 +1086,8 @@ struct mount_softdeps {
#define FLUSH_CLEANUP 0x0002 /* need to clear out softdep structures */
#define FLUSH_STARTING 0x0004 /* flush thread not yet started */
#define FLUSH_RC_ACTIVE 0x0008 /* a thread is flushing the mount point */
+#define FLUSH_DI_ACTIVE 0x0010 /* a thread is processing delayed
+ inactivations */
/*
* Keep the old names from when these were in the ufsmount structure.