From: "Andreas Schäfer" <gentryx@gmx.de>
To: reiserfs-list@namesys.com
Subject: Re: somewhat OT query on journalling
Date: Fri, 21 Jul 2006 23:26:11 +0200 [thread overview]
Message-ID: <20060721212611.GA13453@wintermute> (raw)
In-Reply-To: <44C122F1.7000109@slaphack.com>
[-- Attachment #1: Type: text/plain, Size: 1209 bytes --]
> Don't get too excited -- the transactions probably aren't done yet. Without those, no filesystem that claims to journal data is really any better than a filesystem which only journals metadata. Even once
> they are implemented (or even if they are already), applications have to support them directly.
Actually, I think transactions in a filesystem context are a bit
different from the transactions you know form databases. Generally
speaking, a transaction denotes a transition from one valid state to
another. This transition should either be performed completely or --
in case of errors -- performed not at all (a.k.a. "roll back").
Databases allow application defined transactions (i.e. the
application specifies when a valid state is being left and when one is
reached again).
IMHO for filesystems a transaction denotes the flushing of write
buffers. "metadata only" transactions/journaling mean that even after
a crash the file itself will be readable (and not pointing to
e.g. sector -4711 ...). "data _and_ metadata" now means that the
filesystem does also guarantee that the data itself is written
completely.
Please correct my if I got this totally wrong.
-Andreas
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-07-21 21:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-19 15:27 somewhat OT query on journalling Payal Rathod
2006-07-19 17:30 ` Toby Thain
2006-07-19 17:30 ` Toby Thain
2006-07-19 19:09 ` David Masover
2006-07-19 19:19 ` David Masover
2006-07-19 20:28 ` Hans Reiser
2006-07-21 12:45 ` Payal Rathod
2006-07-21 18:54 ` David Masover
2006-07-21 21:26 ` Andreas Schäfer [this message]
2006-07-21 21:53 ` David Masover
2006-07-22 0:54 ` 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=20060721212611.GA13453@wintermute \
--to=gentryx@gmx.de \
--cc=reiserfs-list@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.