public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Andi Kleen <ak@muc.de>
Cc: "David S. Miller" <davem@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: block layer sg, bsg
Date: Wed, 4 Aug 2004 19:31:11 +0200	[thread overview]
Message-ID: <20040804173111.GB5978@suse.de> (raw)
In-Reply-To: <m33c32ke3f.fsf@averell.firstfloor.org>

On Wed, Aug 04 2004, Andi Kleen wrote:
> "David S. Miller" <davem@redhat.com> writes:
> >
> > Or use a more portable well-defined type which does not change
> > size nor layout between 32-bit and 64-bit environments.
> 
> That is usually a mistake. People get the more subtle issues
> like long long handling wrong, and then it is impossible to fix it 
> anymore in a compat layer (examples are ipsec and iptables, which
> cannot be emulated on x86-64 because of that) 
> 
> So please never pass any structures with read/write/netlink.

Which basically brings us back to SG_IO, or (alternatively) SG_IO_WRITE
and SG_IO_READ ioctls. I doubt that is really worth it, however. There's
just not a huge need to do it.

-- 
Jens Axboe


  reply	other threads:[~2004-08-04 17:31 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2ppN4-1wi-11@gated-at.bofh.it>
     [not found] ` <2pvps-5xO-33@gated-at.bofh.it>
     [not found]   ` <2pvz2-5Lf-19@gated-at.bofh.it>
     [not found]     ` <2pwbQ-68b-43@gated-at.bofh.it>
2004-08-04 17:28       ` block layer sg, bsg Andi Kleen
2004-08-04 17:31         ` Jens Axboe [this message]
2004-08-04 19:18         ` Jeff Garzik
2004-08-04 19:22           ` David S. Miller
2004-08-04 23:21             ` Andi Kleen
2004-08-04 23:26               ` David S. Miller
2004-08-04 23:51               ` YOSHIFUJI Hideaki / 吉藤英明
2004-08-05  3:58                 ` David S. Miller
2004-08-06  7:03                   ` Daniel Phillips
2004-08-06 15:04                     ` Andi Kleen
2004-08-08 19:18                       ` Daniel Phillips
2004-08-05 11:49                 ` Andi Kleen
2004-08-06  3:46                   ` YOSHIFUJI Hideaki / 吉藤英明
2004-08-06  4:19                     ` David S. Miller
2004-08-06 13:20                       ` Andi Kleen
2004-08-06 18:28                         ` David S. Miller
2004-08-06 11:04                     ` Andi Kleen
2004-08-04  8:50 Jens Axboe
2004-08-04 14:52 ` David S. Miller
2004-08-04 15:04   ` Jens Axboe
2004-08-04 15:44     ` David S. Miller
2004-08-04 15:48       ` Jens Axboe
2004-08-04 15:56       ` Jeff Garzik
2004-08-04 15:58         ` Jens Axboe
2004-08-04 23:11           ` Douglas Gilbert

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=20040804173111.GB5978@suse.de \
    --to=axboe@suse.de \
    --cc=ak@muc.de \
    --cc=davem@redhat.com \
    --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