All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geoff Oakham <g@mbl.ca>
To: Yury Umanets <umka@namesys.com>
Cc: reiserfs-list@namesys.com
Subject: Re: libaal documentation: fact or fiction?
Date: Wed, 8 Oct 2003 16:46:18 -0400	[thread overview]
Message-ID: <20031008204618.GA14476@mbl.ca> (raw)
In-Reply-To: <3F846C07.2030707@namesys.com>

On Wed, Oct 08, 2003 at 11:56:55PM +0400, Yury Umanets wrote:
> >>We will have userspace API for controlling transactions and other things 
> >>latter when sys_reiser4() is finished.
> >Ah, that's good to know.  What's the status of that work?
> Actually I'm not sure, that my information about the status is up 
> to-date. Ask Hans about this.

Does Hans monitor all traffic here, or should I explicitly ping() him?

> Hm.. It's cool idea. There only a thing... It is needed to rewrite mutt 
> and other tools to use this critical section. Also,  this should be 
> system wide, I mean, that linux should support this feature in its VFS. 
> I guess Hans will be interesting to discuss this more detailed.

*nod* I think Hans mentioned something about trying out potential
changes to VFS initially on reiserfs.. somewhere in the documentation.
(I can't remember where.)

> Yet another method that comed to my mind, is to impelement ability to 
> open not the whole file, but some its part and to have separated file 
> descriptor for that file. It seems, that QNX is able to do so.

That sounds oddly familiar.  Didn't one of the dozens of attempts to
standardize file locking protocols consider this approch?  (I know enough
about file locking to know I should avoid it.)

I seem to remember NFS to be a particularily dodgy spot for this stuff.

> So, you propose to use some kind of crossover between applications and 
> actual call to kernel? And this bridge should decide is backend 
> filesystem is able to do journaling and has user space journaling 
> control API? It is yet another good idea.

Umm.. yes?  (I'm sorry, I'm not sure I follow, so I'll ramble a bit and
hope I mention something approaching an answer.)

I'd like this library to behave properly in most situations:

  a. Reiser supports transactions, kernel does not [yet?].
  b. VFS supports transactions
  c. OS is not Linux and/or does not support transactions at all.

  i. filesystem supports transactions
  ii. filesystem does not support transactions

Where exactly you put the code that chooses the appropriate
implementation doesn't matter.  I think it will vary depending on the
platform & situation.. regardless, it should be hidden from the user.
Obviously in situation #c, it would have to be handled at compile time.
In #b, the kernel would handle it.  #a.. perhaps both user and kernel
will be needed..?

Geoff

-- 
  PGP fingerprint: 8ADC 92E1 6782 D034 E0E3  8EF4 EA4D 25E3 C17C 48D2
  "If you want to learn more about guns, get a job at [an American]
  convenience store or visit our website at ... " --Michael Moore


  reply	other threads:[~2003-10-08 20:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-07 17:22 libaal documentation: fact or fiction? Geoff Oakham
2003-10-08  6:52 ` Yury Umanets
2003-10-08 16:32   ` Geoff Oakham
2003-10-08 18:12     ` Yury Umanets
2003-10-08 19:01       ` Geoff Oakham
2003-10-08 19:56         ` Yury Umanets
2003-10-08 20:46           ` Geoff Oakham [this message]
2003-10-09  9:20             ` Yury Umanets
2003-10-09 10:19     ` Hans Reiser
2003-10-09 12:51       ` Geoff Oakham

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=20031008204618.GA14476@mbl.ca \
    --to=g@mbl.ca \
    --cc=reiserfs-list@namesys.com \
    --cc=umka@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.