Re: [patch] zfs livelock and thread priorities

From: Kip Macy <kmacy_at_freebsd.org>
Date: Thu, 30 Apr 2009 10:13:40 -0700
On Thu, Apr 30, 2009 at 8:55 AM, Ben Kelly <ben_at_wanderview.com> wrote:
> On Apr 30, 2009, at 3:19 AM, Kip Macy wrote:
>>
>> I have a system at work that I could lock up within minutes with
>> fsstress. With this patch the system is now stable with large numbers
>> of fsstress processes running.
>>
>> Provided I get the heads up from pjd, I will commit it.
>
> I found on my system that I could not zfs export my pool after running my
> load test with this patch.  To try to fix this I've updated the patch to
> delegate to vrele(9) instead of directly decrementing the vnode count.  I
> also modified the deferred operation to restart a full vrele(9) instead of
> calling VOP_INACTIVE since it occurred to me someone else might have grabbed
> the vnode while our task was on the queue.  I have only had time to run a
> short test, but it seems to avoid the problem so far.
>
> Can you retest with these changes?
>\

I'll try deferring the entire vrele.

-Kip
Received on Thu Apr 30 2009 - 15:13:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:46 UTC