From: Goswin von Brederlow <goswin-v-b@web.de>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: goswin-v-b@web.de, bs_lists@aakef.fastmail.fm,
fuse-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org
Subject: Re: [fuse-devel] delta filesystem prototype
Date: Thu, 05 Mar 2009 20:58:20 +0100 [thread overview]
Message-ID: <87mybzd9nn.fsf@frosties.localdomain> (raw)
In-Reply-To: <E1LfDHD-00077q-No@pomaz-ex.szeredi.hu> (Miklos Szeredi's message of "Thu, 05 Mar 2009 14:06:15 +0100")
Miklos Szeredi <miklos@szeredi.hu> writes:
> On Wed, 04 Mar 2009, Goswin von Brederlow wrote:
>> Bernd and I ment the following scenario:
>>
>> /dev/sda1 /union/read-only
>> tmpfs /union/read-write
>>
>> with a delta-fs merging the two. Then running "echo foo >
>> /union/read-only/path/file" could be desasterous to your data.
>
> Well, if the writable branch is really meant to be a clone of the
> underlying fs, then yes. But writable unions are _not_ clones either,
> very far from that.
The problem is that /delta-fs/path/file would suddenly be a composite
of the new file /union/read-only/path/file and any stored delta
information in /union/read-write/path/file of the old file.
In unionfs-fuse files are currently always completly copy-up-ed when
modified. There a change of /union/read-only/path/file will give the
new file if it wasn't modified or the old modified file if it was. But
never mix the two.
>> The underlying branch must not change on its own. The delta-fs could
>> change it on command but that wasn't what we where thinking of.
>
> Delta-fs could deal with changes in the underlying filesystem, in some
> cases much better than unionfs (for example if the file was renamed in
> the delta-fs, and it was later modified in the underlying fs).
>
> Thanks,
> Miklos
Ugh, no. The delta-fs has no way of knowing when a file in a branch
will be changed outside of delta-fs. And it would have to know that
before the change so it can copy-up relevant data before they change.
MfG
Goswin
next prev parent reply other threads:[~2009-03-05 19:58 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-28 14:42 delta filesystem prototype Miklos Szeredi
2009-02-28 17:22 ` [fuse-devel] " Goswin von Brederlow
2009-03-01 0:38 ` Bernd Schubert
2009-03-01 10:17 ` Goswin von Brederlow
2009-03-04 11:21 ` Miklos Szeredi
2009-03-04 14:12 ` Goswin von Brederlow
2009-03-05 13:06 ` Miklos Szeredi
2009-03-05 19:58 ` Goswin von Brederlow [this message]
2009-03-06 4:10 ` hooanon05
2009-03-06 12:37 ` Goswin von Brederlow
2009-03-07 1:16 ` hooanon05
2009-03-07 9:01 ` Goswin von Brederlow
2009-03-07 9:12 ` hooanon05
2009-03-09 12:21 ` Goswin von Brederlow
2009-03-09 13:35 ` hooanon05
2009-03-09 14:22 ` Goswin von Brederlow
2009-03-09 15:25 ` hooanon05
2009-03-10 8:14 ` Goswin von Brederlow
2009-03-09 16:36 ` Miklos Szeredi
2009-03-06 11:35 ` Miklos Szeredi
2009-03-06 12:50 ` Goswin von Brederlow
2009-03-06 13:21 ` Miklos Szeredi
2009-03-07 8:56 ` Goswin von Brederlow
2009-03-07 1:19 ` hooanon05
2009-03-07 9:03 ` Goswin von Brederlow
2009-03-07 9:16 ` hooanon05
2009-03-09 12:28 ` Goswin von Brederlow
2009-03-09 13:36 ` hooanon05
2009-03-09 14:25 ` Goswin von Brederlow
2009-03-09 15:20 ` hooanon05
2009-03-10 8:06 ` Goswin von Brederlow
2009-03-10 8:44 ` hooanon05
2009-03-12 9:22 ` Tomas M
2009-03-12 9:40 ` Goswin von Brederlow
2009-03-12 9:19 ` Tomas M
2009-03-09 14:13 ` Nikolaus Rath
2009-03-03 8:31 ` hooanon05
2009-03-03 10:59 ` [fuse-devel] " Goswin von Brederlow
2009-03-03 13:11 ` hooanon05
2009-03-03 15:27 ` Dave Kleikamp
2009-03-03 15:50 ` hooanon05
2009-03-03 15:54 ` Dave Kleikamp
2009-03-03 16:02 ` hooanon05
2009-03-03 16:14 ` Dave Kleikamp
2009-03-03 16:19 ` hooanon05
2009-03-03 16:46 ` Dave Kleikamp
2009-03-03 17:13 ` hooanon05
2009-03-04 11:52 ` Goswin von Brederlow
2009-03-04 14:10 ` Dave Kleikamp
2009-03-04 16:23 ` hooanon05
2009-03-04 11:49 ` Goswin von Brederlow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mybzd9nn.fsf@frosties.localdomain \
--to=goswin-v-b@web.de \
--cc=bs_lists@aakef.fastmail.fm \
--cc=fuse-devel@lists.sourceforge.net \
--cc=linux-fsdevel@vger.kernel.org \
--cc=miklos@szeredi.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox