From: Jeff Garzik <jgarzik@pobox.com>
To: Joe Thornber <joe@fib011235813.fsnet.co.uk>
Cc: Linux Mailing List <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@transmeta.com>,
Dave Jones <davej@suse.de>
Subject: Re: [PATCH] Device-mapper submission 6/7
Date: Wed, 16 Oct 2002 11:59:05 -0400 [thread overview]
Message-ID: <3DAD8CC9.9020302@pobox.com> (raw)
In-Reply-To: 20021016152047.GA11422@fib011235813.fsnet.co.uk
Joe Thornber wrote:
> On Wed, Oct 16, 2002 at 10:20:30AM -0400, Jeff Garzik wrote:
>
>>AFAIK Linus and Al Viro (and myself <g>) have always considered ioctls
>>an ugly -ism that should have never made it into Unix.
>
>
> I'm not going to argue with you there.
>
>
>>ioctl(2) is a pain for people like David Miller who must maintain
>>32<->64 bit ioctl translation layers for their architecture.
>
>
> I know, the patch already includes ioctl32.c support for parisc,
> sparc64, s390x, ppc64 and mips64.
that's fine, but my point still stands -- _because_ you had to do it, it
is more argument that the ioctls are just the wrong thing to do.
>>We now have libfs.c in 2.5.x that makes ramfs-based filesystems even
>>more tiny, too. With the added flexibility of an fs -- it makes the
>>userland tools much more simple and sane -- and the pain of ioctls, it
>>seems a clear choice for new interfaces.
>
>
> Yes, I was looking at libfs this morning and think it would remove a
> lot of the code from our old fs interface. Is this going to be
> backported to 2.4 so that we can move to an fs interface there too ?
I think viro has mentioned doing something along these lines. Even if
current ramfs users in 2.4.x aren't changed, libfs.c can be added to 2.4.
But we are not talking about 2.4.x for the current context, which is
submission to Linus for 2.5. For 2.5.x's purposes, your libfs needs are
met.
2.4.x and device mapper are at the moment a vendor issue.
> The driver has been designed to support different user interfaces, and
> userland is isolated by way of the little libdevmapper library. So
> writing another another interface will be comparitively simple. We
> will do this. However, I want this to be a seperate piece of work
> from the current dm, I see no reason to stall inclusion of dm for
> this.
minus the submission of the ioctl layer, sure.
This is a _new_ addition, so from our perspective we want to get it
right(tm) and change things now. I know this differs from your
perspective, but that's really a different context and [bluntly] doesn't
matter.
Adding ioctls now and then removing them later is a software engineering
no-no. Save everyone lots of headache and ditch them now.
Jeff
next prev parent reply other threads:[~2002-10-16 15:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-15 17:58 [PATCH] Device-mapper submission 6/7 Joe Thornber
2002-10-15 18:15 ` Jeff Garzik
2002-10-15 18:59 ` Greg KH
2002-10-15 21:44 ` Joe Thornber
2002-10-16 14:20 ` Jeff Garzik
2002-10-16 14:38 ` Anton Blanchard
2002-10-16 15:20 ` Jeff Garzik
2002-10-16 15:20 ` Joe Thornber
2002-10-16 15:59 ` Jeff Garzik [this message]
2002-10-17 8:05 ` Joe Thornber
2002-10-17 8:26 ` Andi Kleen
2002-10-17 8:50 ` Joe Thornber
2002-10-17 16:54 ` Jeff Garzik
2002-10-18 11:38 ` Jakob Oestergaard
2002-10-17 15:10 ` Jeff Garzik
2002-10-18 0:48 ` Andi Kleen
2002-10-17 0:46 ` Greg KH
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=3DAD8CC9.9020302@pobox.com \
--to=jgarzik@pobox.com \
--cc=davej@suse.de \
--cc=joe@fib011235813.fsnet.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.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