mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Dave Kleikamp <shaggy@austin.ibm.com>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux-xfs@oss.sgi.com, Dave Blaschke <blaschke@us.ibm.com>
Subject: Re: [PATCH] JFS DMAPI
Date: Sun, 7 Mar 2004 09:37:45 +0000	[thread overview]
Message-ID: <20040307093745.A14680@infradead.org> (raw)
In-Reply-To: <1078444492.9162.56.camel@shaggy.austin.ibm.com>; from shaggy@austin.ibm.com on Thu, Mar 04, 2004 at 05:54:52PM -0600

On Thu, Mar 04, 2004 at 05:54:52PM -0600, Dave Kleikamp wrote:
> Andrew,
> Would you consider adding this patch to -mm?  This would add the DMAPI
> interface to JFS.  This function has long been requested by HSMs
> (Hierarchical Storage Managers).  It is based on SGI's XFS
> implementation, but has been clean up to avoid their vnode interface.

Umm, no.  There's a reason the XFS code this is based on isn't merged, and
the problem is the DMAPI spec.  E.g. you still have this utterly incompatible
to Linux semantics of providing a mount option to specifiy the canonical
name for a mount  point as dmapi doesn't understand the concept of multiple
mounts for a given fs or namespaces, you still don't get the post-unmount
even rights, the handle2path stuff is still as broken, how do you handle
the mprotect vs dmapi regions interaction the 2.4 XFS tree has the mprotect
vm operation hack for, etc..?

So the question is whether IBM just wants to provide this for customers that
can live with the incompatbilities or really wants to provide HSM support
for mainline.

In the first case I'd suggest you clean up the changes to the JFS core to
not require ifdefs all over the place and submit that one for mainline
inclusion so the dmapi dir can more less be dropped into the tree ala
XFS.

If IBM actually wants to support proper HSM support for Linux let's go back
to the drawing board.  Some specific requirements:

 - move the events from fs-specific code to common code.  That we have two
   filesystems now that want it shows pretty much that fs-specific code
   is the wrong place.
 - get rid of the concept of a canoical path in kernelspace.  If userspace
   wants it they can't search the mount tab for the right st_dev to provide
   dmapi semantics.
 - clean up the whole ioctl API mess.  I think we'd mostly be done with
   a O_HSM option for open to avoid interactions with the callouts and some
   generic handle API.


      parent reply	other threads:[~2004-03-07  9:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-04 23:54 Dave Kleikamp
2004-03-05  0:20 ` Andreas Dilger
2004-03-07  9:39   ` Christoph Hellwig
2004-03-07  9:37 ` Christoph Hellwig [this message]

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=20040307093745.A14680@infradead.org \
    --to=hch@infradead.org \
    --cc=akpm@osdl.org \
    --cc=blaschke@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-xfs@oss.sgi.com \
    --cc=shaggy@austin.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®