Hi,

One of our servers had hundreds of threads waiting for a zrlock to be
released, but it never did:

http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/fs/zfs/zrlock.c#96

I am just wondering how this could happen, the only place trying to lock it
seems to be this one:

http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/fs/zfs/dnode.c#916

As you can see, zrl_exit() is used to release the lock.

I found this 3-years-old issue:

https://www.illumos.org/issues/3746 - ZRLs are racy

Any thoughts?

Thanks,

-- Youzhong



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to