spa_namespace_lock and concurrent zfs commands

Eugene M. Zheganin emz at norma.perm.ru
Wed Sep 9 12:29:31 UTC 2020


Hello,

I'm using sort of FreeBSD ZFS appliance with custom API, and I'm 
suffering from huge timeouts when large (dozens, actually) of concurrent 
zfs/zpool commands are issued (get/create/destroy/snapshot/clone mostly).

Are there any tunables that could help mitigate this ?

Once I took part in reporting the 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203906 , but the issue 
that time got resolved somehow. Now I have another set of FreeBSD SANs 
and it;'s back. I've read the 
https://wiki.freebsd.org/AndriyGapon/AvgZFSLocking and I realize this 
probably doesn't have a quick solution, but still...


Thanks.


Eugene.



More information about the freebsd-stable mailing list