Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2007 10:58:46 -0500
From:      Craig Boston <craig@xfoil.gank.org>
To:        Benjamin Close <Benjamin.Close@clearchain.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Swapfile on ZFS & Deadlock
Message-ID:  <20070615155831.GA880@nowhere>
In-Reply-To: <4672945C.3060304@clearchain.com>
References:  <4672945C.3060304@clearchain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070615155831.GA880>