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: Fri, 06 Mar 2009 13:50:36 +0100 [thread overview]
Message-ID: <87zlfy95nn.fsf@frosties.localdomain> (raw)
In-Reply-To: <E1LfYKT-0000rg-4p@pomaz-ex.szeredi.hu> (Miklos Szeredi's message of "Fri, 06 Mar 2009 12:35:01 +0100")
Miklos Szeredi <miklos@szeredi.hu> writes:
> On Thu, 05 Mar 2009, Goswin von Brederlow wrote:
>> 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.
>
> It can detect changes to the underlying file from the modification
> time (which it can store together with the delta).
But then what do you do? You don't know what changed and it is to late
to recover any data that might be lost.
> But having data deltas are in fact not even that interesting. Files
> are not often modified without being completely rewritten. Appending:
> that happens, but again that can be handled in an intelligent way by
> the delta layer.
>
> The most interesting is the directory and metadata deltas, which do
> make a delta-fs like implementation much more effective and nicer as a
> dumb union type filesystem. Mind, unionfs and aufs are rapidly
> acquiring non-union traits, like inode number storage, virtual hard
> links (not to speak of whiteouts). Which makes them all the more
> hackish, I much prefer a conceptually clean solution.
That is certainly something for unionfs-fuse as far as it isn't done
already. Doesn't even need any delta algorithm, just seperate storage
of metadata and normal data. Iirc Bernd already did look into
preserving inodes in unionfs-fuse.
>> 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.
>
> So? Some datasets may reside in multiple files, and inconsistencies
> could just as as well present themselves in that case.
>
> Thanks,
> Miklos
MfG
Goswin
next prev parent reply other threads:[~2009-03-06 12:50 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
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 [this message]
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=87zlfy95nn.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