Re: [PATCH 0/7] OMFS filesystem version 3

From: Szabolcs Szakacsits
Date: Fri Apr 18 2008 - 09:12:31 EST



On Mon, 14 Apr 2008 david@xxxxxxx 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/