SUJ update

Jeff Roberson jroberson at jroberson.net
Sun May 2 01:11:07 UTC 2010


On Sat, 1 May 2010, Bruce Cran wrote:

> On Thu, Apr 29, 2010 at 06:37:00PM -1000, Jeff Roberson wrote:
>
>> I fixed a few SUJ bugs.  If those of you who reported one of the
>> following bugs could re-test I would greatly appreciate it.
>>
>
> I've started seeing a panic "Sleeping thread owns a non-sleepable lock",
> though it seems to be occurring both with and without journaling. The
> back trace when journaling is disabled is:

Can you tell me what the lock is?  This may be related to recent vm work 
which went in at the same time.

>
> sched_switch
> mi_switch
> sleepq_wait
> _sleep
> bwait
> bufwait
> bufwrite
> ffs_balloc_ufs2
> ffs_write
> VOP_WRITE_APV
> vnode_pager_generic_putpages
> VOP_PUTPAGES
> vnode_pager_putpages
> vm_pageout_flush
> vm_object_page_collect_flush
> vm_object_page_clean
> vfs_msync
> sync_fsync
> VOP_FSYNC_APV
> sync_vnode
> sched_sync
> fork_exit
> fork_trampoline
>
> I've also noticed that since disabling journaling a full fsck seems to
> be occurring on boot; background fsck seems to have been disabled.

When you disable journaling it also disables soft-updates.  You need to 
re-enable it.  I could decouple this.  It's hard to say which is the POLA.

Thanks,
Jeff

>
> -- 
> Bruce Cran
>


More information about the freebsd-current mailing list