From: Lou Langholtz <ldl@aros.net>
To: Andrew Morton <akpm@digeo.com>
Cc: linux-kernel@vger.kernel.org, pavel@ucw.cz
Subject: Re: [RFC][PATCH] nbd driver for 2.5+: fix locking issues with ioctl UI
Date: Wed, 25 Jun 2003 08:24:18 -0600 [thread overview]
Message-ID: <3EF9B092.90906@aros.net> (raw)
In-Reply-To: <20030625001950.16bbb688.akpm@digeo.com>
Andrew Morton wrote:
>Lou Langholtz <ldl@aros.net> wrote:
>
>
>>That said, this seems like an opportunistic time to further break
>> compatibility with the existing nbd-client user tool and do away with
>> the problematic components of the ioctl user interface.
>>
>>
>
>Is a suitably modified userspace tool available?
>
>
Seems like a pandora's box (and/or catch-22)... A modified userspace
tool is not yet available that I know of. I have a hacked version that
I've been using to test things with of course. But it's not in a very
nice state to release. And then Pavel's distro of the tool is probably
what most people use anyway. I have a seperate distro in part because I
wanted to just play with things at first and thought sharing the sources
might be useful to someone. Etc. Anyways, I wanted to get a feeling
first from the kernel hacking community how important back compatibility
was to them w.r.t. this driver. Since the original jumbo patch also got
criticized against for supporting multiple linux version in the driver
sources (via the LINUX_VERSION macros), seems like there's some split in
what people may prefer. I wanted to generate comments on these specific
changes to solidify what changes would really be needed in the user
space tool before also distributing a changed nbd-client. It would also
help to have something like a version ioctl or something that could be
keyed on to provide the correct support. On the other hand, I'm not sure
that Pavel even realized that the block layer changes impacted the
semantics of the sizing ioctl (such that the user-space tool needs to
re-open the file descriptor to get the proper size in). I didn't realize
this myself even till only a few days ago but I had been wondering all
along why sizing hadn't been working right. Sigh. Just to many other
things to also do. The driver could also fix this sizing issue but
coding the change their feels more like a hack than in the client tool.
On the bright side, Pavel's nbd-client could probably be ifdef'd quite
easily to work-around/fix the sizing issue and also this new proposed
ioctl interface. Let me catch up w/ LKML mail and see what others have
to say so far. I can probably produce a diff for Pavel easily enough
(more easily than for my distro of the same) so that we won't have these
issues anymore. But then full circle, it all depends on how the
community would like to see these issues resolved (ie. maybe they want
the sizing fixed in the driver instead and personally it's a close balance).
next prev parent reply other threads:[~2003-06-25 14:10 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-25 6:51 [RFC][PATCH] nbd driver for 2.5+: fix locking issues with ioctl UI Lou Langholtz
2003-06-25 7:19 ` Andrew Morton
2003-06-25 14:24 ` Lou Langholtz [this message]
2003-06-25 15:36 ` Lou Langholtz
2003-06-25 15:55 ` Christoph Hellwig
2003-06-25 17:38 ` Lou Langholtz
2003-06-25 17:44 ` Christoph Hellwig
2003-06-25 18:16 ` Lou Langholtz
2003-06-25 18:19 ` Christoph Hellwig
2003-06-25 17:58 ` Anyone for NBD maintainer [was Re: [RFC][PATCH] nbd driver for 2.5+: fix locking issues with ioctl UI] Pavel Machek
2003-06-25 18:21 ` Lou Langholtz
2003-06-25 18:30 ` Pavel Machek
2003-06-25 21:35 ` Lou Langholtz
[not found] ` <Pine.LNX.4.10.10306251645580.11076-100000@clements.sc.steeleye.com>
2003-06-25 21:09 ` NBD maintainer change [was Re: Anyone for NBD maintainer] Pavel Machek
2003-06-25 17:48 ` [RFC][PATCH] nbd driver for 2.5+: fix locking issues with ioctl UI Paul Clements
2003-06-25 17:56 ` viro
2003-06-25 18:57 ` Lou Langholtz
2003-06-25 19:41 ` Lou Langholtz
2003-06-25 20:00 ` Paul Clements
2003-06-25 22:17 ` Lou Langholtz
2003-06-28 17:13 ` Paul Clements
2003-06-30 16:10 ` Lou Langholtz
2003-06-28 17:20 ` [PATCH] nbd: maintain compatibility with existing nbd tools Paul Clements
2003-06-29 18:42 ` Pavel Machek
2003-06-29 21:04 ` [PATCH 2.5.73] " Paul Clements
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=3EF9B092.90906@aros.net \
--to=ldl@aros.net \
--cc=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/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