From owner-freebsd-current@FreeBSD.ORG Mon Sep 15 17:23:43 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0BFE106566B for ; Mon, 15 Sep 2008 17:23:43 +0000 (UTC) (envelope-from stevenschlansker@berkeley.edu) Received: from gateway0.EECS.Berkeley.EDU (gateway0.EECS.Berkeley.EDU [169.229.60.87]) by mx1.freebsd.org (Postfix) with ESMTP id 8978F8FC12 for ; Mon, 15 Sep 2008 17:23:38 +0000 (UTC) (envelope-from stevenschlansker@berkeley.edu) Received: from emu.stevenschlansker.is-a-geek.org (66-117-142-212.lmi.net [66.117.142.212]) (authenticated bits=0) by gateway0.EECS.Berkeley.EDU (8.14.3/8.13.5) with ESMTP id m8FHNPfn013656 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 15 Sep 2008 10:23:26 -0700 (PDT) Message-Id: From: Steven Schlansker To: Benjamin Close In-Reply-To: <48CE72BB.1050505@clearchain.com> Mime-Version: 1.0 (Apple Message framework v926) Date: Mon, 15 Sep 2008 10:23:20 -0700 References: <3A22C890-8724-4A41-8E67-2F6A8D4D7E3C@berkeley.edu> <48CE72BB.1050505@clearchain.com> X-Mailer: Apple Mail (2.926) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: pjd's ZFS 2008-07-27 patches against HEAD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 17:23:43 -0000 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"