From: Dheeraj Pandey <dheeraj@gmail.com>
To: linux-scsi@vger.kernel.org
Subject: writev to SCSI disks: Does sg work?
Date: Tue, 19 Apr 2005 16:09:40 -0700 [thread overview]
Message-ID: <363f92a80504191609b2bc1e2@mail.gmail.com> (raw)
Hi!
I was wondering if I did a simple writev to a SCSI disk, does it take
the sg path to the device? I am guessing this sg (REQ_SPECIAL) is only
true for character devices (and ioctl's) and not block devices.
These are my questions:
- Is sg a common feature among SCSI disks these days? How do I know
what disks support this feature?
- How does one make writev work for SCSI disk (as a block device)
in direct_io?
- If I use SCSI disks as character device, can I use writev on the
character device file, and will sg codepath be taken?
Thanks
Dheeraj
reply other threads:[~2005-04-19 23:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=363f92a80504191609b2bc1e2@mail.gmail.com \
--to=dheeraj@gmail.com \
--cc=linux-scsi@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