From owner-freebsd-current@FreeBSD.ORG Fri Jun 15 15:58:51 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA63516A468 for ; Fri, 15 Jun 2007 15:58:50 +0000 (UTC) (envelope-from craig@xfoil.gank.org) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.freebsd.org (Postfix) with ESMTP id D824913C4C3 for ; Fri, 15 Jun 2007 15:58:48 +0000 (UTC) (envelope-from craig@xfoil.gank.org) Received: by ion.gank.org (Postfix, from userid 1001) id 94A981109C; Fri, 15 Jun 2007 10:58:48 -0500 (CDT) Date: Fri, 15 Jun 2007 10:58:46 -0500 From: Craig Boston To: Benjamin Close Message-ID: <20070615155831.GA880@nowhere> Mail-Followup-To: Craig Boston , Benjamin Close , freebsd-current@freebsd.org References: <4672945C.3060304@clearchain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4672945C.3060304@clearchain.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: Swapfile on ZFS & Deadlock 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: Fri, 15 Jun 2007 15:58:51 -0000 On Fri, Jun 15, 2007 at 11:00:04PM +0930, Benjamin Close wrote: > Then do something that needs swap.. instant deadlock. The system is > still responsive but all disk access become hung. > > Known issue? If so is there a way we can warn users/prevent users from > doing it? I agree that it shouldn't deadlock (worst case swapping to a file on zfs should be disallowed), but is there a particular reason you created a file on ZFS rather than creating a zvol to swap to? ISTM that creating a volume would result in better performance than a file and I can't see any downside to it. Craig