From mboxrd@z Thu Jan 1 00:00:00 1970 From: Szabolcs Szakacsits Subject: Re: [PATCH 0/7] OMFS filesystem version 3 Date: Fri, 18 Apr 2008 16:13:47 +0300 (MET DST) Message-ID: References: <20080412205544.5e12a7d4.akpm@linux-foundation.org> <20080414091639.4bd3879d@core> <20080414084141.GA29113@infradead.org> <200804141020.37271.chris.mason@oracle.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Chris Mason , Christoph Hellwig , Alan Cox , Andrew Morton , David Woodhouse , Miklos Szeredi , me@bobcopeland.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: david@lang.hm Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, 14 Apr 2008 david@lang.hm wrote: > and the various interactions and deadlocks that can happen with a > userspace filesystem, such as swapping to it) Swap on loopback could deadlock with whatever file system, not only FUSE. The correct and safe way to use swap with FUSE is using the fuseblk fstype and a swap file on the FUSE file system (so it's exactly the same as one would do with an in-kernel file system). This completely avoids the usage of user space during swapping. This is in use for over a year with ntfs-3g, e.g. by Knoppix and Mr Klaus Knopper wrote only positive things to me so far. Szaka -- NTFS-3G: http://ntfs-3g.org