Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2008 10:23:20 -0700
From:      Steven Schlansker <stevenschlansker@berkeley.edu>
To:        Benjamin Close <Benjamin.Close@clearchain.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: pjd's ZFS 2008-07-27 patches against HEAD
Message-ID:  <D15F2AA9-CA45-4ADF-8C97-98663F64369A@berkeley.edu>
In-Reply-To: <48CE72BB.1050505@clearchain.com>
References:  <3A22C890-8724-4A41-8E67-2F6A8D4D7E3C@berkeley.edu> <48CE72BB.1050505@clearchain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I have heard very dire warnings about disabling the ZIL, especially  
when using NFS (as I am)
http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#ZIL
So unless this doesn't affect FreeBSD, I'm not inclined to disable the  
ZIL.  I'll try disabling prefetch, though.  Thanks for the idea.

I'm still interested in trying out the patches, though, if anyone has  
gotten them to work recently...

On Sep 15, 2008, at 7:35 AM, Benjamin Close wrote:

> Hi Steven,
>    Try adding the following to /boot/loader.conf  - fixes the  
> deadlocks
> for me on 7.0
>
> # ZFS deadlock fixes
> vfs.zfs.prefetch_disable="1"
> vfs.zfs.zil_disable="1"
>
> Cheers,
>    Benjamin
>
> Steven Schlansker wrote:
>> Hello everyone,
>>
>> First, a thank you to pjd and the other contributers for all their
>> work getting ZFS to work.  It's a really awesome feature, and I've
>> gotten good use of it already :)
>>
>> I recently got fed up with all the deadlocks that ZFS seems to have  
>> on
>> my home server (things hang in zfs: states, nothing can kill them,
>> prevents rebooting, etc) so I decided to try out -CURRENT with the
>> latest ZFS patches.  However, they no longer seem to apply cleanly.
>> Specifically,
>>
>> [steven@universe:/usr/src]% bzcat ~/zfs_20080727.patch.bz2 | sudo
>> patch -s -C -p0
>> 1 out of 14 hunks failed--saving rejects to
>> cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h.rej
>> 1 out of 11 hunks failed--saving rejects to
>> sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_file.c.rej
>> 1 out of 33 hunks failed--saving rejects to
>> sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c.rej
>> 1 out of 20 hunks failed--saving rejects to
>> sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_replay.c.rej
>> 1 out of 115 hunks failed--saving rejects to
>> sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c.rej
>> 4 out of 29 hunks failed--saving rejects to
>> sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c.rej
>> 1 out of 11 hunks failed--saving rejects to sys/kern/kern_jail.c.rej
>>
>> This is against a current HEAD (tag=. in csup as of 2 hours ago)
>>
>> I  was wondering if there is a newer patch out there (I don't see
>> anything in ~pjd/patches) or if anyone has had any luck getting the
>> patch to apply cleanly to the latest sources.
>>
>> Thanks,
>> Steven Schlansker
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to
>> "freebsd-current-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D15F2AA9-CA45-4ADF-8C97-98663F64369A>