All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dheeraj Pandey <dheeraj@gmail.com>
To: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: writev to scsi disks
Date: Wed, 20 Apr 2005 08:01:53 -0700	[thread overview]
Message-ID: <363f92a8050420080112dec5db@mail.gmail.com> (raw)

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 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 (any capabilities published by the driver)?
  - 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 simply use writev on the
character device file, and will sg codepath be taken?

             reply	other threads:[~2005-04-20 15:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20 15:01 Dheeraj Pandey [this message]
2005-04-20 21:15 ` writev to scsi disks James Bottomley

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=363f92a8050420080112dec5db@mail.gmail.com \
    --to=dheeraj@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --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 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.