<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/scsi/scsi.c, branch linux-2.6.36.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.36.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.36.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-09-16T15:48:48Z</updated>
<entry>
<title>[SCSI] Fix VPD inquiry page wrapper</title>
<updated>2010-09-16T15:48:48Z</updated>
<author>
<name>Martin K. Petersen</name>
</author>
<published>2010-09-10T05:20:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=16d3ea26f82271fef9b1c4523b5e1ea31fa39eec'/>
<id>urn:sha1:16d3ea26f82271fef9b1c4523b5e1ea31fa39eec</id>
<content type='text'>
Fix two bugs in the VPD page wrapper:

    - Don't return failure if the user asked for page 0

    - The end of buffer check failed to account for the page header size
      and consequently didn't work

Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Cc: Stable Tree &lt;stable@kernel.org&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
</entry>
<entry>
<title>[SCSI] add scsi trace core functions and put trace points</title>
<updated>2010-04-30T17:51:10Z</updated>
<author>
<name>Kei Tokunaga</name>
</author>
<published>2010-04-01T11:41:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bf81623542332bc2cedf3db49cbb2edb724780d2'/>
<id>urn:sha1:bf81623542332bc2cedf3db49cbb2edb724780d2</id>
<content type='text'>
Signed-off-by: Xiao Guangrong &lt;xiaoguangrong@cn.fujitsu.com&gt;
Signed-off-by: Tomohiro Kusumi &lt;kusumi.tomohiro@jp.fujitsu.com&gt;
Signed-off-by: Kei Tokunaga &lt;tokunaga.keiich@jp.fujitsu.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
</entry>
<entry>
<title>scsi.c: add missing kernel-doc notation for new VPD parameters</title>
<updated>2010-03-01T16:11:54Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2010-03-01T01:32:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=786f8ba2e9449a7f01ec6bc35838d0a335921061'/>
<id>urn:sha1:786f8ba2e9449a7f01ec6bc35838d0a335921061</id>
<content type='text'>
Add missing kernel-doc notation for new function parameters:

Warning(drivers/scsi/scsi.c:1031): No description found for parameter 'buf'
Warning(drivers/scsi/scsi.c:1031): No description found for parameter 'buf_len'

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Cc: James Bottomley &lt;James.Bottomley@suse.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[SCSI] eliminate potential kmalloc failure in scsi_get_vpd_page()</title>
<updated>2010-01-18T16:48:05Z</updated>
<author>
<name>James Bottomley</name>
</author>
<published>2009-11-03T18:33:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3deec090558d5cb5ffdc574e5560f3ed9723394'/>
<id>urn:sha1:e3deec090558d5cb5ffdc574e5560f3ed9723394</id>
<content type='text'>
The best way to fix this is to eliminate the intenal kmalloc() and
make the caller allocate the required amount of storage.

Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
</entry>
<entry>
<title>[SCSI] add queue_depth ramp up code</title>
<updated>2009-12-04T18:00:44Z</updated>
<author>
<name>Vasu Dev</name>
</author>
<published>2009-10-22T22:46:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a84067dbfce436b81779e585bf712b02ceee552'/>
<id>urn:sha1:4a84067dbfce436b81779e585bf712b02ceee552</id>
<content type='text'>
Current FC HBA queue_depth ramp up code depends on last queue
full time. The sdev already  has last_queue_full_time field to
track last queue full time but stored value is truncated by
last four bits.

So this patch updates last_queue_full_time without truncating
last 4 bits to store full value and then updates its only
current usages in scsi_track_queue_full to ignore last four bits
to keep current usages same while also use this field
in added ramp up code.

Adds scsi_handle_queue_ramp_up to ramp up queue_depth on
successful completion of IO. The scsi_handle_queue_ramp_up will
do ramp up on all luns of a target, just same as ramp down done
on all luns on a target.

The ramp up is skipped in case the change_queue_depth is not
supported by LLD or already reached to added max_queue_depth.

Updates added max_queue_depth on every new update to default
queue_depth value.

The ramp up is also skipped if lapsed time since either last
queue ramp up or down is less than LLD specified
queue_ramp_up_period.

Adds queue_ramp_up_period to sysfs but only if change_queue_depth
is supported since ramp up and queue_ramp_up_period is needed only
in case change_queue_depth is supported first.

Initializes queue_ramp_up_period to 120HZ jiffies as initial
default value, it is same as used in existing lpfc and qla2xxx.

-v2
 Combined all ramp code into this single patch.

-v3
 Moves max_queue_depth initialization after slave_configure is
called from after slave_alloc calling done. Also adjusted
max_queue_depth check to skip ramp up if current queue_depth
is &gt;= max_queue_depth.

-v4
 Changes sdev-&gt;queue_ramp_up_period unit to ms when using sysfs i/f
to store or show its value.

Signed-off-by: Vasu Dev &lt;vasu.dev@intel.com&gt;
Tested-by: Christof Schmitt &lt;christof.schmitt@de.ibm.com&gt;
Tested-by: Giridhar Malavali &lt;giridhar.malavali@qlogic.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
</entry>
<entry>
<title>[SCSI] Fix protection scsi_data_buffer leak</title>
<updated>2009-10-02T14:46:52Z</updated>
<author>
<name>Martin K. Petersen</name>
</author>
<published>2009-09-18T21:33:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b4c2554d40ceac130a8d062eaa8838ed22158c45'/>
<id>urn:sha1:b4c2554d40ceac130a8d062eaa8838ed22158c45</id>
<content type='text'>
We would leak a scsi_data_buffer if the free_list command was of the
protected variety.

Reported-by: Boaz Harrosh &lt;bharrosh@panasas.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Cc: Stable Tree &lt;stable@kernel.org&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
</entry>
<entry>
<title>[SCSI] fix bugs in scsi_vpd_inquiry()</title>
<updated>2009-08-22T22:52:23Z</updated>
<author>
<name>James Bottomley</name>
</author>
<published>2009-08-11T15:59:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=95a3639e275fb7aec5c9a2116c88a2cdd23e0b8b'/>
<id>urn:sha1:95a3639e275fb7aec5c9a2116c88a2cdd23e0b8b</id>
<content type='text'>
Universally, SCSI functions assume the lengths fed in are those of the buffer
to DMA data to, not the lengths of the data minus the header.
scsi_vpd_inquiry() assumed the latter and got it wrong, so fix up all the
functions to use the correct assumption (and fix a bug where INQUIRY in SCSI-2
dcannot go over 255).


[jejb: Matthew posted an identical version of this at the same time I did]
Signed-off-by: Matthew Wilcox &lt;matthew@wil.cx&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
</entry>
<entry>
<title>[SCSI] fix documentation for two functions</title>
<updated>2009-06-08T17:23:35Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-04-27T18:54:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=477e608c03eb2f561a23994bee38a32a9fd3357d'/>
<id>urn:sha1:477e608c03eb2f561a23994bee38a32a9fd3357d</id>
<content type='text'>
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] use kmem_cache_zalloc instead of kmem_cache_alloc/memset</title>
<updated>2009-04-03T15:16:31Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2009-03-04T20:06:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ebef264bd90abb8bcafe29e5ba5492da4f7d4492'/>
<id>urn:sha1:ebef264bd90abb8bcafe29e5ba5492da4f7d4492</id>
<content type='text'>
Signed-off-by: Wei Yongjun &lt;yjwei@cn.fujitsu.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] Add VPD helper</title>
<updated>2009-03-12T17:57:54Z</updated>
<author>
<name>Matthew Wilcox</name>
</author>
<published>2008-12-31T18:12:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=881a256d84e658d14ca1c162fe56e9cbbb1cdd49'/>
<id>urn:sha1:881a256d84e658d14ca1c162fe56e9cbbb1cdd49</id>
<content type='text'>
Based on prior work by Martin Petersen and James Bottomley, this patch
adds a generic helper for retrieving VPD pages from SCSI devices.

Signed-off-by: Matthew Wilcox &lt;willy@linux.intel.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
</feed>
