lkml.org 
[lkml]   [2005]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectwritev to scsi disks
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?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-20 17:05    [W:0.028 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site