Re: SUJ deadlock

From: Fabien Thomas <fabien.thomas_at_netasq.com>
Date: Fri, 7 May 2010 08:10:20 +0200
fixed/works a lot better for me.

> Applied and restarted portupgrade.
> Will tell you tomorrow.
> 
> Fabien
> 
> Le 6 mai 2010 à 00:54, Jeff Roberson a écrit :
> 
>> On Mon, 3 May 2010, Fabien Thomas wrote:
>> 
>>>>> Hi Jeff,
>>>>> 
>>>>> I'm with r207548 now and since some days i've system deadlock.
>>>>> It seems related to SUJ with process waiting on suspfs or ppwait.
>>>> 
>>>> I've also seen it stalled in suspfs, but this information is way better
>>>> than what I was able to garner.   I was only able to tell via ctrl-t on
>>>> a stalled 'ls' process in a terminal before hard booting.
>>>> 
>>>> Right now it occurs everytime I attempt to do the portmaster -a upgrade
>>>> of X/KDE on this system.
>>> 
>>> I've spotted this during multiple portupgrade -aR :)
>> 
>> Can anyone who has experienced this hang test this patch:
>> 
>> Thanks,
>> Jeff
>> 
>> Index: ffs_softdep.c
>> ===================================================================
>> --- ffs_softdep.c       (revision 207480)
>> +++ ffs_softdep.c       (working copy)
>> _at__at_ -9301,7 +9301,7 _at__at_
>>                       hadchanges = 1;
>>       }
>>       /* Leave this inodeblock dirty until it's in the list. */
>> -       if ((inodedep->id_state & (UNLINKED | DEPCOMPLETE)) == UNLINKED)
>> +       if ((inodedep->id_state & (UNLINKED | UNLINKONLIST)) == UNLINKED)
>>               hadchanges = 1;
>>       /*
>>        * If we had to rollback the inode allocation because of
>> 
>> 
>>> 
>>> Fabien
>>> _______________________________________________
>>> freebsd-current_at_freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>>> 
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Fri May 07 2010 - 04:10:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC