<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://kerneltrap.org"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>KernelTrap - SCSI</title>
 <link>http://kerneltrap.org/taxonomy/term/800/0</link>
 <description></description>
 <language>en-local</language>
<item>
 <title>Block Data Integrity</title>
 <link>http://kerneltrap.org/Linux/Block_Data_Integrity</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;These patches allow data integrity information (checksum and more) to be attached to I/Os at the block/filesystem layers and transferred through the entire I/O stack all the way to the physical storage device,&lt;/i&gt;&quot; &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2008/6/7/2056354&quot;&gt;began Martin Petersen&lt;/a&gt;.  He went on to explain, &quot;&lt;i&gt;the integrity metadata can be generated in close proximity to the original data.  Capable host adapters, RAID arrays and physical disks can verify the data integrity and abort I/Os in case of a mismatch.&lt;/i&gt;&quot;  He noted that support currently only exists for SCSI disks, but that work is underway to also add support for SATA drives and SCSI tapes, &quot;&lt;i&gt;with a few minor nits due to protocol limitations the proposed SATA format is identical to the SCSI&lt;/i&gt;&quot;.  Explaining how this works, Martin continued:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;SCSI drives can usually be reformatted to 520-byte sectors, yielding 8 extra bytes per sector.  These 8 bytes have traditionally been used by RAID controllers to store internal protection information.  DIF (Data Integrity Field) is an extension to the SCSI Block Commands that standardizes the format of the 8 extra bytes and defines ways to interact with the contents at the protocol level. [...]  When writing, the HBA (Host Bus Adapter) will DMA 512-byte sectors from host memory, generate the matching integrity metadata and send out 520-byte sectors on the wire.  The disk will verify the integrity of the data before committing it to stable storage.  When reading, the drive will send 520-byte sectors to the HBA.  The HBA will verify the data integrity and DMA 512-byte sectors to host memory.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/Block_Data_Integrity&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/Block_Data_Integrity#comments</comments>
 <category domain="http://kerneltrap.org/taxonomy/term/1279">data integrity</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/taxonomy/term/1278">Martin Petersen</category>
 <category domain="http://kerneltrap.org/RAID">RAID</category>
 <category domain="http://kerneltrap.org/SCSI">SCSI</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Wed, 11 Jun 2008 16:46:38 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">16267 at http://kerneltrap.org</guid>
</item>
<item>
 <title>SCSI Targets</title>
 <link>http://kerneltrap.org/Linux/SCSI_Targets</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;As you probably know there is a trend in enterprise computing towards networked storage. This is illustrated by the emergence during the past few years of standards like SRP (SCSI RDMA Protocol), iSCSI (Internet SCSI) and iSER (iSCSI Extensions for RDMA),&lt;/i&gt;&quot; &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2008/1/23/595039&quot;&gt;began Bart Van Assche&lt;/a&gt;, proposing that &lt;a href=&quot;http://scst.sourceforge.net/&quot;&gt;SCST&lt;/a&gt; be merged into the mainline kernel.  He suggested that while similar to the &lt;a href=&quot;http://stgt.berlios.de/&quot;&gt;STGT&lt;/a&gt; project which has been part of the mainline kernel since 2.6.20, &quot;&lt;i&gt;SCST is superior to STGT with respect to features, performance, maturity, stability, and number of existing target drivers. Unfortunately the SCST kernel code lives outside the kernel tree, which makes SCST harder to use than STGT.&lt;/i&gt;&quot;&lt;/p&gt;
&lt;p&gt;SCSI subsystem maintainer, James Bottomley, was not convinced, explaining:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;The two target architectures perform essentially identical functions, so there&#039;s only really room for one in the kernel.  Right at the moment, it&#039;s STGT. Problems in STGT come from the user&amp;lt;-&amp;gt;kernel boundary which can be mitigated in a variety of ways.  The fact that the figures are pretty much comparable on non IB networks shows this. I really need a whole lot more evidence than at worst a 20% performance difference on IB to pull one implementation out and replace it with another.  Particularly as there&#039;s no real evidence that STGT can&#039;t be tweaked to recover the 20% even on IB.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/SCSI_Targets&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/SCSI_Targets#comments</comments>
 <category domain="http://kerneltrap.org/2.6.20">2.6.20</category>
 <category domain="http://kerneltrap.org/taxonomy/term/1178">Bart Van Assche</category>
 <category domain="http://kerneltrap.org/taxonomy/term/797">iSCSI</category>
 <category domain="http://kerneltrap.org/James_Bottomley">James Bottomley</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/SCSI">SCSI</category>
 <category domain="http://kerneltrap.org/taxonomy/term/1180">SCST</category>
 <category domain="http://kerneltrap.org/taxonomy/term/1179">STGT</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Thu, 31 Jan 2008 18:59:36 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">15381 at http://kerneltrap.org</guid>
</item>
<item>
 <title>Tracking Merge Candidates</title>
 <link>http://kerneltrap.org/Linux/Tracking_Merge_Candidates</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;Yes, I know ... another tree, just what everyone wants,&lt;/i&gt;&quot; quipped James Bottomley, &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2008/1/18/578789&quot;&gt;announcing his new merge candidate (-mc) tree&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;This one has a specific purpose: It&#039;s my tree tracking everyone else&#039;s git and quilt trees so I get early warning if there are going to be any merge issues.  However, it struck me it might be useful to anyone wishing to track what&#039;s going upstream more closely.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;James noted that his new tree is &lt;a href=&quot;http://git.kernel.org/?p=linux/kernel/git/jejb/merge-tree/.git;a=summary&quot;&gt;available in git&lt;/a&gt;, and being automatically built each night. &quot;&lt;i&gt;As you can see from the reverts and the skips, we have trouble even now (and that&#039;s after I fixed up most of the failures in SCSI).  ACPI and the x86 trees clash hideously, so I kicked out x86. Jens&#039; block tree has two patches which clash with Bart&#039;s ide quilt.  Greg actually has one patch in his tree that clashes with one of mine.&lt;/i&gt;&quot;  He also noted, &quot;&lt;i&gt;this tree is currently very storage centric (i.e. I haven&#039;t included net trees or quilts because I didn&#039;t think they&#039;d be likely to clash with my SCSI trees).  However, if it could be more generally useful, I could add other trees and quilts to it.&lt;/i&gt;&quot;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/Tracking_Merge_Candidates&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/Tracking_Merge_Candidates#comments</comments>
 <category domain="http://kerneltrap.org/git">git</category>
 <category domain="http://kerneltrap.org/James_Bottomley">James Bottomley</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/merge_plans">merge plans</category>
 <category domain="http://kerneltrap.org/SCSI">SCSI</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Mon, 21 Jan 2008 16:58:05 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">15289 at http://kerneltrap.org</guid>
</item>
<item>
 <title>Asynchronous Event Notification Infrastructure</title>
 <link>http://kerneltrap.org/Linux/Asynchronous_Event_Notification_Infrastructure</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;Jeff Garzik posted a two patch series introducing an &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/10/29/365891&quot;&gt;asynchronous event notification infrastructure&lt;/a&gt;, &quot;&lt;i&gt;enabling SATA Asynchronous Notification (&#039;AN&#039;) for CD/DVD devices that support it.&lt;/i&gt;&quot;  He summarized:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;For devices that support SATA AN (only very recent ones do), this means that HAL and other userspace utilities no longer need to repeatedly poll the CD/DVD device to determine if the user has changed the media.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/10/29/365894&quot;&gt;first patch&lt;/a&gt; is for the SCSI driver and is based on work originally done by Kristen Carlson Accardi, along with &quot;&lt;i&gt;copious input from James Bottomley&lt;/i&gt;&quot;.  The &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/10/29/365897&quot;&gt;second patch&lt;/a&gt; updates libata to utilize the new SCSI event infrastructure.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/Asynchronous_Event_Notification_Infrastructure&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/Asynchronous_Event_Notification_Infrastructure#comments</comments>
 <category domain="http://kerneltrap.org/James_Bottomley">James Bottomley</category>
 <category domain="http://kerneltrap.org/Jeff_Garzik">Jeff Garzik</category>
 <category domain="http://kerneltrap.org/taxonomy/term/198">LibATA</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/SCSI">SCSI</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Mon, 29 Oct 2007 21:25:42 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14705 at http://kerneltrap.org</guid>
</item>
<item>
 <title>SCSI Utility sdparm 1.02</title>
 <link>http://kerneltrap.org/Linux/SCSI_Utility_sdparm_1.02</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;Douglas Gilbert &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/10/10/334022&quot;&gt;announced the 1.02 release&lt;/a&gt; of the sdparm utility.  Originally written for Linux, it has also been ported to FreeBSD, Solaris, Tru64 and Windows.  Douglas described the program:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;sdparm is a command line utility designed to get and set SCSI device parameters (cf hdparm for ATA disks). The parameters are held in mode pages. Apart from SCSI devices (e.g. disks, tapes and enclosures) sdparm can be used on any device that uses a SCSI command set. Almost all CD/DVD drives use the SCSI MMC set irrespective of the transport. sdparm also can decode VPD pages including the device identification page. Commands to start and stop the media; load and unload removable media and some other housekeeping functions are supported.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/SCSI_Utility_sdparm_1.02&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/SCSI_Utility_sdparm_1.02#comments</comments>
 <category domain="http://kerneltrap.org/taxonomy/term/1062">1.02</category>
 <category domain="http://kerneltrap.org/taxonomy/term/1061">Douglas Gilbert</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/SCSI">SCSI</category>
 <category domain="http://kerneltrap.org/taxonomy/term/1063">sdparm</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Wed, 10 Oct 2007 21:02:17 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14555 at http://kerneltrap.org</guid>
</item>
<item>
 <title>Whitelists and Blacklists</title>
 <link>http://kerneltrap.org/Linux/Whitelists_and_Blacklists</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;It turns out that USB devices suck when it comes to powermanagement issues :(&lt;/i&gt;&quot; &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/9/13/259148&quot;&gt;lamented Greg KH&lt;/a&gt; in posting some patches to handle USB autosuspend problems.  He noted that the patches were intended for inclusion in the upcoming 2.6.23 kernel, &quot;&lt;i&gt;a number of patches have been submitted near the end of this kernel release cycle that add new device ids to the quirk table in the kernel to disable autosuspend for specific devices.  However, a number of developers are very worried that even with the testing that has been done, once 2.6.23 is released, we are going to get a whole raft of angry users when their devices break in nasty ways.&lt;/i&gt;&quot;  He proved an example, &quot;&lt;i&gt;it seems that almost 2/3 of all USB printers just can not handle autosuspend.  And there&#039;s a _lot_ of USB printers out there...&lt;/i&gt;&quot;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/9/13/259275&quot;&gt;Later in the discussion&lt;/a&gt;, Linux creator Linus Torvalds commented, &quot;&lt;i&gt;in general, I think the USB blacklist/whitelists are generally a sign of some deeper bug.&lt;/i&gt;&quot;  He continued on to point out a number of quirks in the USB layer that need to be addressed and added:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;We used to have a lot of those things due to simply incorrect SCSI probing, causing devices to lock up because Linux probed them with bad or unexpected modepages etc. I suspect we still have old blacklist entries from those days that just never got cleaned up, because nobody ever dared remove the blacklist entry.&lt;/p&gt;
&lt;p&gt;&quot;We should strive to make the default behaviour be so safe that we never need a black-list (or a whitelist), and basically consider blacklists to be not a way to &#039;fix up a device&#039;, but a way to avoid some really serious AND *RARE* error.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/Whitelists_and_Blacklists&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/Whitelists_and_Blacklists#comments</comments>
 <category domain="http://kerneltrap.org/2.6.23">2.6.23</category>
 <category domain="http://kerneltrap.org/blacklist">blacklist</category>
 <category domain="http://kerneltrap.org/Greg_KH">Greg KH</category>
 <category domain="http://kerneltrap.org/Linus_Torvalds">Linus Torvalds</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/power_management">power management</category>
 <category domain="http://kerneltrap.org/SCSI">SCSI</category>
 <category domain="http://kerneltrap.org/USB">USB</category>
 <category domain="http://kerneltrap.org/whitelist">whitelist</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Fri, 14 Sep 2007 03:52:44 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14377 at http://kerneltrap.org</guid>
</item>
<item>
 <title>Linux:  Combined iSCSI Effort</title>
 <link>http://kerneltrap.org/node/4992</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;A &lt;a href=&quot;http://kerneltrap.org/mailarchive/1/message/50597/thread&quot;&gt;recent posting&lt;/a&gt; to the &lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;new&quot;&gt;lkml&lt;/a&gt; announced that the &lt;a href=&quot;http://www.open-iscsi.org/&quot; target=&quot;new&quot;&gt;Open-iSCSI&lt;/a&gt; and &lt;a href=&quot;http://linux-iscsi.sourceforge.net/&quot; target=&quot;new&quot;&gt;Linux-iSCSI&lt;/a&gt; projects have merged into a single effort.  &lt;a href=&quot;http://www.faqs.org/rfcs/rfc3720.html&quot; target=&quot;new&quot;&gt;iSCSI&lt;/a&gt; stands for the Internet Small Computer Systems Interface, a transport protocol that works on top of TCP and allows the SCSI family of protocols to function over a network instead of only over a local bus.  Regarding the recent merging of efforts, the announcement explains:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;After some dialog with the developers on each team, it was decided that although each team started out with independent code and some differences in architecture, it was worth considering the possibility of combining the two efforts into one.  Alternatives were considered for the combined architecture of the two projects, including adding an option for a kernel control plane.  After discussions, it was decided by consensus that the open-iscsi architecture and code would be the best starting point for the &quot;next gen&quot; linux-iscsi project.&lt;/p&gt;
&lt;p&gt;&quot;The advantages of this starting point include open-iscsi&#039;s optimized I/O paths that were built from scratch, as well as incorporation of well tested iscsi-sfnet components for the control plane and userspace components.  The combined open-iscsi and linux-iscsi teams believe this will result in the highest performing and most stable iSCSI stack for Linux.&quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/node/4992&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/node/4992#comments</comments>
 <category domain="http://kerneltrap.org/taxonomy/term/797">iSCSI</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/taxonomy/term/799">Linux-iSCSI</category>
 <category domain="http://kerneltrap.org/taxonomy/term/798">Open-iSCSI</category>
 <category domain="http://kerne