All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Clausen <clausen@gnu.org>
To: Steve Pratt <slpratt@us.ibm.com>
Cc: Yury Umanets <umka@namesys.com>,
	reiserfs-list <reiserfs-list@namesys.com>
Subject: Re: EVMS Reiser FSIM
Date: Thu, 30 May 2002 19:53:23 +1000	[thread overview]
Message-ID: <20020530095323.GA1076@gnu.org> (raw)
In-Reply-To: <OF7550755B.8F3C611F-ON85256BC8.0056E5DC@pok.ibm.com>

On Wed, May 29, 2002 at 11:28:38AM -0500, Steve Pratt wrote:
> Inadequate because it offers NO parameter passing to the file system code.
> How would you ever specify and external journal location or a journal size,
> Parted does not have the API support for this and I don't know when it
> will.

Agreed.  You could have sent a patch, though.

> Unstable because each of the file system utilities may or may not be a
> re-implementation of the utilities written by the file system developers.

s/may or may not/may not/ ?

Anyway, I agree this is a problem.

> I know this to be true for the ext2 code in Parted, which has segfaulted on
> me more than once while performing an expand.

I don't recall you sending me a bug report.

> I want to use the code approved by the owners of the file system.

Me too.  Just the ext2 maintainer doesn't like this approach, so
I'm going to need to push a bit harder (and I don't have time now)

> As I have stated previously, if the ReiserFS utilities package start
> shipping this as part of their standard tool set, then I would consider
> using it.  In fact if the file system community would come up with a
> standard library interface I would be even happier.

Me too.  I suspect that's very difficult, though.

> >BTW, I have almost done smart resizing (from partition start) in
> >libreiserfs. But you can't using the libraries of third pesons, so you
> >will haven't smart resizing and other features in your FSIM :))
> 
> Do you mean moving the start of the partition?  Not really interested.  But
> I am confused about your comment of not being able to use libraries of
> third persons.  EVMS is GPL and could link to any GPL code it wants.  If
> the libreiserfs is the *right* set of code to use, than I will use it.

I believe his point was: it would be possible to write non-GPL FSIMs.
(The GPL is probably unenforcable for "plugins")

> >Yet another issue. One man almost done JFS support for GNU Parted. Are
> >you going to add it to EVMS too? I think yes. And probably you will do
> >it in maner like ReiserFS (forking and piping).
> 
> Already done.  And I have the added benefit of picking up fixes in
> utilities whenever the file system developers make them.

The obvious long-term solution is to get jfs people to make a decent
library.  fork/pipe is Wrong.

> Is this person
> monitoring the JFS CVS tree to ensure that he does not miss an important
> fix that might go into JFS?  Does he have the external journal support in
> the library yet?  Oh wait, there is no way to pass parameters to filesystem
> code in Parted, so he can't have support for it.

I have encouraged him to try to create a libjfs (that would be maintained
by the jfs community).  I don't know what he's doing with this.

In any case, I'm not advocating (and haven't for several years) that
libparted should implement file system functionality.

I personally think libparted should be split into:

	(1) a low-level "device" system library.  This should include
	identification facilities and error handling IMHO.
	(2) a file system library
	(3) a partition library

And a (meta) LVM library could be added.

I doubt I'll have time to see all of this through, but I'm certainly
encouraging people who are working on parted FS support to structure
their code to make (2) easier.  BTW: I don't care who writes each
of these components, as long as they are in a highly modular/reusable form.
However, EVMS's infrastructure is very coupled together... for example,
implementations are tied to a particular module structure, there is
one libevms that contains all the infrastructure, and the userland
is coupled to evms's linux implementation.  So far, EVMS isn't
the solution... although perhaps it shouldn't be... perhaps it should
just use the solution.  Before such a solution exists, I think the EVMS
approach is reasonable... but I would be happy if EVMS people strived
for a more modular architecture.

Just to repeat: I think libparted is just as bad, but you seem
to have the resources to solve the above problems... why don't you?

Cheers,
Andrew


  parent reply	other threads:[~2002-05-30  9:53 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-29 16:28 EVMS Reiser FSIM Steve Pratt
2002-05-30  7:37 ` Yury Umanets
2002-05-30  9:53 ` Andrew Clausen [this message]
2002-05-30 12:56   ` Hans Reiser
2002-05-30 23:50     ` Andrew Clausen
  -- strict thread matches above, loose matches on Subject: below --
2002-06-04 16:45 Steve Pratt
2002-06-04 15:02 Steve Pratt
2002-06-04 15:10 ` Oleg Drokin
2002-06-03 23:34 Steve Pratt
2002-06-03 21:03 Steve Pratt
2002-06-04  6:09 ` Oleg Drokin
2002-06-03 19:04 Steve Pratt
2002-06-03 19:36 ` Oleg Drokin
2002-05-31 17:40 Steve Pratt
2002-06-01  1:35 ` Andrew Clausen
2002-05-31 17:03 Steve Pratt
2002-05-31 17:28 ` Oleg Drokin
2002-06-03 16:00 ` Oleg Drokin
2002-05-30 19:02 Steve Pratt
2002-05-31 13:43 ` Andrew Clausen
2002-05-30 17:14 Steve Pratt
2002-05-31  9:26 ` Oleg Drokin
2002-05-29 13:46 Steve Pratt
2002-05-29 14:17 ` Yury Umanets
2002-05-30  5:09 ` Oleg Drokin
2002-05-30  5:32   ` Adrian Phillips
2002-05-30  5:54     ` Oleg Drokin

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=20020530095323.GA1076@gnu.org \
    --to=clausen@gnu.org \
    --cc=reiserfs-list@namesys.com \
    --cc=slpratt@us.ibm.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.