public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* writev to SCSI disks: Does sg work?
@ 2005-04-19 23:09 Dheeraj Pandey
  0 siblings, 0 replies; only message in thread
From: Dheeraj Pandey @ 2005-04-19 23:09 UTC (permalink / raw)
  To: linux-scsi

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-19 23:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-19 23:09 writev to SCSI disks: Does sg work? Dheeraj Pandey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox