The branch stable/13 has been updated by kib:

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

commit a14a142c6e32926b2d751356fb1f5ea4f3ddfa0c
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2021-03-06 21:09:16 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2021-08-14 10:21:59 +0000

    vlrureclaim: only skip vnode with resident pages if it own the pages
    
    (cherry picked from commit 44691b33cc99d0e17262368b6e0f64e531994a23)
---
 sys/kern/vfs_subr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index bd4413edcb40..d67936447216 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1169,7 +1169,7 @@ restart:
                VI_LOCK(vp);
                if (vp->v_usecount > 0 ||
                    (!reclaim_nc_src && !LIST_EMPTY(&vp->v_cache_src)) ||
-                   (vp->v_object != NULL &&
+                   (vp->v_object != NULL && vp->v_object->handle == vp &&
                    vp->v_object->resident_page_count > trigger)) {
                        VOP_UNLOCK(vp);
                        vdropl(vp);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to