mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Adam J. Richter" <adam@yggdrasil.com>
To: hch@infradead.org
Cc: axboe@suse.de, linux-kernel@vger.kernel.org
Subject: Re: Patch/resubmit(2.5.49): Use struct io_restrictions in blkdev.h
Date: Wed, 27 Nov 2002 14:44:24 -0800	[thread overview]
Message-ID: <200211272244.OAA07729@baldur.yggdrasil.com> (raw)

Christoph Hellwig wrote:
>On Wed, Nov 27, 2002 at 12:59:46PM -0800, Adam J. Richter wrote:
>> >On Wed, Nov 27, 2002 at 11:49:40AM -0800, Adam J. Richter wrote:
>> >> 	Here is an updated version of the patch.  The struct
>> >> io_restrictions declaration is in <linux/device-mapper.h> so that the
>> >> device-mapper user level utilities compile properly (device-mapper.h
>> >> is written to support inclusion by user level programs).
>> 
>> >They shouldn't include it anyway.  Please put it into a proper place.
>> 
>> 	I don't know what you mean by "shouldn't" or "proper" in this
>> context.  If you'd state technical advantages or disadvanges, others
>> could determine these labels for themselves.
>> 
>> 	Anyhow, what would be a "proper" place as you see it?

>blkdev.h

	I expect struct io_restrictions to be useful beyond blkdev.  I
want to evolve it for use in DMA scatterlists in general, so blkdev.h
could only be a temporary home.  If you really want and nobody else
objects, I'd be willing to create a separate .h file for struct
io_restrictions.  (I assume that what you find "improper" about
device-mapper.h is that block devices themselves do not depend
on any abstractions specific to the device mapper.)

	That would not break device-mapper, and you could take the
less disruptive approach of submitting a patch to glibc and/or
device-mapper to eliminate the user level program including kernel
headers.

Adam J. Richter     __     ______________   575 Oroville Road
adam@yggdrasil.com     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America
                         "Free Software For The Rest Of Us."

             reply	other threads:[~2002-11-27 22:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-27 22:44 Adam J. Richter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-27 20:59 Adam J. Richter
2002-11-27 21:19 ` Christoph Hellwig
2002-11-27 19:49 Adam J. Richter
2002-11-27 20:03 ` Christoph Hellwig

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=200211272244.OAA07729@baldur.yggdrasil.com \
    --to=adam@yggdrasil.com \
    --cc=axboe@suse.de \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /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®