From: Shawn Rutledge <shawn.t.rutledge@gmail.com>
To: "Vladimir V. Saveliev" <vs@namesys.com>
Cc: reiserfs-list@namesys.com
Subject: Re: where is the journal kept?
Date: Mon, 15 Aug 2005 09:19:21 -0700 [thread overview]
Message-ID: <d9a6586e05081509195017d679@mail.gmail.com> (raw)
In-Reply-To: <4300A603.2050602@namesys.com>
On 8/15/05, Vladimir V. Saveliev <vs@namesys.com> wrote:
> Pat Double wrote:
...
> reiser4 has no filesystem area dedicated for journal.
> Instead it allocats log(journal) records dynamically.
>
> it is transactional.
> > If that's the case, why this option in debug.reiser4 :
> >
> > Usage: /sbin/debugfs.reiser4 [ options ] FILE
> > Print options:
> > -j, --print-journal prints journal.
> >
>
> yes, this prints reiser4 "wandering logs".
Suppose a new file was being created; when the journal entry for the
new file actually gets converted to an inode, can it be done without
rewriting the whole file?
What if the program was only writing part of the file? Is journalling
involved in that? If so, does it duplicate the whole file? It
doesn't duplicate it more than once does it? (first into the journal,
then re-write it on the filesystem later)?
What I'm getting at is whether Reiser4 is any better for a flash-based
filesystem than Reiser3? I was interested in using it on a CF card in
my Zaurus, but the guys on the oe list are saying that journalling
filesystems are bad in general on flash, because they involve
rewriting the same areas of the flash (where the journal is) over and
over. I was thinking that CF and SD cards both use smart block
allocation so that actually the writes are getting spread around on
the physical flash memory; but it's still bad if every time you write
a file, it's getting written 2 or more times. If you have gotten it
down to just writing the main part of the file once, and then
re-writing some sort of header from the journal into the "real" fs,
then the reduction of the life of the flash might be tolerable.
The other problem with using it on the Z is that busybox's version of
mount does not support ReiserFS, so I'd have to compile another
version for it. (Not a big problem, but I wonder why busybox doesn't
support it in the first place.)
next prev parent reply other threads:[~2005-08-15 16:19 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-15 11:53 where is the journal kept? Payal Rathod
2005-08-15 12:25 ` Vladimir V. Saveliev
2005-08-15 12:50 ` Payal Rathod
2005-08-15 12:58 ` Vladimir V. Saveliev
2005-08-15 13:12 ` Pat Double
2005-08-15 14:26 ` Vladimir V. Saveliev
2005-08-15 15:52 ` David Masover
2005-08-15 16:19 ` Shawn Rutledge [this message]
2005-08-15 17:34 ` Vladimir V. Saveliev
2005-08-15 18:08 ` Shawn Rutledge
2005-08-16 19:59 ` Hans Reiser
2005-08-16 20:27 ` Shawn Rutledge
2005-08-16 22:30 ` David Masover
2005-08-16 23:23 ` Shawn Rutledge
2005-08-17 0:02 ` David Masover
2005-08-17 0:47 ` Shawn Rutledge
2005-08-17 5:51 ` Hans Reiser
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=d9a6586e05081509195017d679@mail.gmail.com \
--to=shawn.t.rutledge@gmail.com \
--cc=reiserfs-list@namesys.com \
--cc=vs@namesys.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.