Re: pjd's ZFS 2008-07-27 patches against HEAD

From: Steven Schlansker <stevenschlansker_at_berkeley.edu>
Date: Mon, 15 Sep 2008 10:23:20 -0700
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_at_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_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 Mon Sep 15 2008 - 15:23:43 UTC

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