]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vfs: reimplement deferred inactive to use a dedicated flag (VI_DEFINACT)
authormjg <mjg@FreeBSD.org>
Tue, 7 Jan 2020 15:56:24 +0000 (15:56 +0000)
committermjg <mjg@FreeBSD.org>
Tue, 7 Jan 2020 15:56:24 +0000 (15:56 +0000)
commit1204b9c8821b43d6b09eabf97a1c61a4ecb14711
treef040757376fe2b172fb8a9bd1e8bc37abbdbad4f
parent55696801396bb03c7df814a44d45691854971f41
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
sys/compat/linux/linux_stats.c
sys/geom/journal/g_journal.c
sys/kern/vfs_mount.c
sys/kern/vfs_subr.c
sys/kern/vfs_syscalls.c
sys/sys/mount.h
sys/sys/vnode.h