Re: rms_rlock with non-sleepable locks held

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Sat, 16 May 2026 23:00:21 UTC
Konstantin Belousov <kostikbel@gmail.com> writes:
> commit 4ef4999153389a423954fbf4c3d2e679fb96e110
> Author: Konstantin Belousov <kib@FreeBSD.org>
> Date:   Sat May 16 22:11:43 2026 +0300
>
>     sys/mount.h: restore KNF_NOKQLOCK in VFS_KNOTE_{,UN}LOCKED
>     
>     ZFS needs to take internal sleepable lock in its implementation of
>     VOP_GETATTR().  Due to this, kq must be unlocked around calls to the vfs
>     filter methods.
>     
>     Fixes:  1d5e4020e36e1cc9e906200c9c3c784ef43d977e

This worked.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org