[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DF123C6.4000008@openwrt.org>
Date: Thu, 09 Jun 2011 21:49:26 +0200
From: Felix Fietkau <nbd@...nwrt.org>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: Miklos Szeredi <miklos@...redi.hu>, NeilBrown <neilb@...e.de>,
viro@...IV.linux.org.uk, torvalds@...ux-foundation.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
apw@...onical.com, hramrach@...trum.cz, jordipujolp@...il.com,
ezk@....cs.sunysb.edu
Subject: Re: [PATCH 0/7] overlay filesystem: request for inclusion
On 2011-06-09 9:38 PM, Andrew Morton wrote:
>> >> > This sort of thing could be implemented in userspace and wired up via
>> >> > fuse, I assume. Has that been attempted and why is it inadequate?
>>
>> Yes, unionfs-fuse and deltafs (written by me) are two examples.
>>
>> One issue that a customer had with deltafs was lack of XIP support. The
>> other one (from the same customer) was the general yuck factor of
>> userspace filesystems.
>>
>> There are also performance and resource use issues associated with
>> userspace filesystems. These may or may not be problem depending on the
>> actual use. But it's a fact that out-of-kernel filesystems will never
>> be as efficient as in-kernel ones.
>
> Yes, userspace filesystems have a good yuck factor. In a way it's a
> sad commentary on the concept of FUSE, but I guess one could look at it
> another way: FUSE is good for prototypes and oddball small-volume stuff
> but once a FUSE-based setup has proven useful and people are getting
> benefit from it, it's time to look at an in-kernel implementation.
We're using overlayfs in OpenWrt for embedded systems with 4 MB flash
and 16 MB RAM for using a jffs2 filesystem as an overlay to squashfs.
FUSE would add quite a bit of unnecessary bloat to that.
overlayfs so far is the only overlay filesystem implementation that I've
seen that works well for us with new kernels, and it has all the
features that we need (which aren't that many).
- Felix
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists