Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 May 2021 12:17:33 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 67e2940b2973 - stable/13 - nullfs: dirty v_object must imply the need for inactivation
Message-ID:  <202105291217.14TCHX1L044545@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=67e2940b2973d2d37c6a3886f1755d54917fa972

commit 67e2940b2973d2d37c6a3886f1755d54917fa972
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-05-21 07:30:19 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-05-29 11:48:09 +0000

    nullfs: dirty v_object must imply the need for inactivation
    
    (cherry picked from commit 42881526d401e7a9c09241e392b7ffa18cfe11d6)
---
 sys/fs/nullfs/null_vnops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c
index 607755fd62d9..3b4e30d8a499 100644
--- a/sys/fs/nullfs/null_vnops.c
+++ b/sys/fs/nullfs/null_vnops.c
@@ -818,7 +818,7 @@ static int
 null_need_inactive(struct vop_need_inactive_args *ap)
 {
 
-	return (null_want_recycle(ap->a_vp));
+	return (null_want_recycle(ap->a_vp) || vn_need_pageq_flush(ap->a_vp));
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105291217.14TCHX1L044545>