From: "Tony Battersby" <tonyb@cybernetics.com>
To: 'Christoph Hellwig' <hch@lst.de>, 'Matthew Wilcox' <matthew@wil.cx>
Cc: linux-scsi@vger.kernel.org, dougg@torque.net
Subject: RE: [PATCH, RFC] sym2: remove unkown data direction handling
Date: Tue, 2 Nov 2004 12:46:33 -0500 [thread overview]
Message-ID: <04Nov2.124609est.332219@cyborg.cybernetics.com> (raw)
In-Reply-To: <20041102171511.GA1810@lst.de>
> > I thought we could get an unknown data direction from certain
ioctls?
>
> Not anymore. We could get the wrong direction from some older ioctls,
> when not used as document but not an unkown one.
Isn't it still possible for a userspace program to specify
SG_DXFER_UNKNOWN when sending a command via /dev/sg* (not that it's a
good idea, but...)
http://gear.torque.net/sg/p/sg_v3_ho.html#AEN166
If you want to BUG() on an unknown data direction, then sg should return
an error to userspace when it sees SG_DXFER_UNKNOWN to avoid the BUG().
Anthony J. Battersby
Cybernetics
prev parent reply other threads:[~2004-11-02 17:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-02 11:18 [PATCH, RFC] sym2: remove unkown data direction handling Christoph Hellwig
2004-11-02 17:06 ` Matthew Wilcox
2004-11-02 17:15 ` Christoph Hellwig
2004-11-02 17:46 ` Tony Battersby [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=04Nov2.124609est.332219@cyborg.cybernetics.com \
--to=tonyb@cybernetics.com \
--cc=dougg@torque.net \
--cc=hch@lst.de \
--cc=linux-scsi@vger.kernel.org \
--cc=matthew@wil.cx \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.