From: hooanon05@yahoo.co.jp
To: Goswin von Brederlow <goswin-v-b@web.de>
Cc: bs_lists@aakef.fastmail.fm, fuse-devel@lists.sourceforge.net,
linux-fsdevel@vger.kernel.org
Subject: Re: [fuse-devel] delta filesystem prototype
Date: Mon, 09 Mar 2009 22:35:52 +0900 [thread overview]
Message-ID: <7927.1236605752@jrobl> (raw)
In-Reply-To: <873admyjho.fsf@frosties.localdomain>
Goswin von Brederlow:
> hooanon05@yahoo.co.jp writes:
::
> > When a user writes something to the file after unlink+rmdir, where can
> > deltafs copyup? At least in the current implementation, there is no
> > place for it.
:::
> In the delta branch create a meta/ and files/ directory. In the meta/
> directory you keep whiteout files and stat updates. In files/ you
> store only changes in the file data itself.
>
> So "rm foo/bar/baz" will create meta/foo/bar/baz.whiteout. Then "echo
> blafase >>foo/bar/baz" first searches for a file to copy-up, sees the
> meta/foo/bar/baz.whiteout and knows the file was deleted. It then
> creates a new files/foo/bar/baz. It might have to copy-up foo and
> foo/bar for that though.
??
What I am pointing out is systemcall level operation instead of command
level.
In your example (or implementation approach), can deltafs successfully
operate "write(2) to and read(2) from foo/bar/baz" after "rm -r foo/bar"?
(from my previous mail)
----------------------------------------------------------------------
- open a file on deltafs
- unlink it
- rmdir its parent
- write or fchmod to it
- rewind+read or mmap+read from the opened file
- cat it be read correctly?
----------------------------------------------------------------------
J. R. Okajima
next prev parent reply other threads:[~2009-03-09 13:41 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 [this message]
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=7927.1236605752@jrobl \
--to=hooanon05@yahoo.co.jp \
--cc=bs_lists@aakef.fastmail.fm \
--cc=fuse-devel@lists.sourceforge.net \
--cc=goswin-v-b@web.de \
--cc=linux-fsdevel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).