<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/scsi/sd.h, 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-08-07T16:26:08Z</updated>
<entry>
<title>scsi/sd: remove big kernel lock</title>
<updated>2010-08-07T16:26:08Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2010-07-07T14:51:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=409f3499a2cfcd1e9c2857c53af7fcce069f027f'/>
<id>urn:sha1:409f3499a2cfcd1e9c2857c53af7fcce069f027f</id>
<content type='text'>
Every user of the BKL in the sd driver is the
result of the pushdown from the block layer
into the open/close/ioctl functions.

The only place that used to rely on the BKL is
the sdkp-&gt;openers variable, which gets converted
into an atomic_t.

Nothing else seems to rely on the BKL, since the
functions do not touch global data without holding
another lock, and the open/close functions are
still protected from concurrent execution using
the bdev-&gt;bd_mutex.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: linux-scsi@vger.kernel.org
Cc: "James E.J. Bottomley" &lt;James.Bottomley@suse.de&gt;
Acked-by: Christoph Hellwig &lt;hch@infradead.org&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] sd: WRITE SAME(16) / UNMAP support</title>
<updated>2009-12-10T14:54:15Z</updated>
<author>
<name>Martin K. Petersen</name>
</author>
<published>2009-11-26T17:00:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e339c1a7c09ef736dca7b3a4353c7742557d9f8f'/>
<id>urn:sha1:e339c1a7c09ef736dca7b3a4353c7742557d9f8f</id>
<content type='text'>
Implement a function for handling discard requests that sends either
WRITE SAME(16) or UNMAP(10) depending on parameters indicated by the
device in the block limits VPD.

Extract unmap constraints and report them to the block layer.

Based in part by a patch by Christoph Hellwig &lt;hch@lst.de&gt;.

Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
</entry>
<entry>
<title>[SCSI] sd: Support disks formatted with DIF Type 2</title>
<updated>2009-10-02T14:47:04Z</updated>
<author>
<name>Martin K. Petersen</name>
</author>
<published>2009-09-20T20:49:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4e7392ec582cf06753b0969ca9ab959923e38493'/>
<id>urn:sha1:4e7392ec582cf06753b0969ca9ab959923e38493</id>
<content type='text'>
Disks formatted with DIF Type 2 reject READ/WRITE 6/10/12/16 commands
when protection is enabled.  Only the 32-byte variants are supported.

Implement support for issusing 32-byte READ/WRITE and enable Type 2
drives in the protection type detection logic.

Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
</entry>
<entry>
<title>[SCSI] sd: Detach DIF from block integrity infrastructure</title>
<updated>2009-10-02T14:46:39Z</updated>
<author>
<name>Martin K. Petersen</name>
</author>
<published>2009-09-18T21:33:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=35e1a5d90b66487d754ef2f2dcbf1007f806d921'/>
<id>urn:sha1:35e1a5d90b66487d754ef2f2dcbf1007f806d921</id>
<content type='text'>
So far we have only issued DIF commands if CONFIG_BLK_DEV_INTEGRITY is
enabled.  However, communication between initiator and target should be
independent of protection information DMA.  There are DIF-only host
adapters coming out that will be able to take advantage of this.

Move the relevant DIF bits to sd.c.

Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
</entry>
<entry>
<title>sd: Physical block size and alignment support</title>
<updated>2009-06-21T15:52:37Z</updated>
<author>
<name>Martin K. Petersen</name>
</author>
<published>2009-05-23T15:43:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea09bcc9c298d3057270abd78a973fc678d55c4c'/>
<id>urn:sha1:ea09bcc9c298d3057270abd78a973fc678d55c4c</id>
<content type='text'>
Extract physical block size and lowest aligned LBA from READ
CAPACITY(16) response and adjust queue parameters.

Report physical block size and alignment when applicable.

[jejb: fix up trailing whitespace]
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] sd: Make revalidate less chatty</title>
<updated>2009-03-18T01:43:52Z</updated>
<author>
<name>Martin K. Petersen</name>
</author>
<published>2009-03-09T15:33:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=70a9b8734660698eb91efb8947a9e691d40235e1'/>
<id>urn:sha1:70a9b8734660698eb91efb8947a9e691d40235e1</id>
<content type='text'>
sd_revalidate ends up being called several times during device setup.
With this patch we print everything during the first scan.  Subsequent
invocations will only print a message if the parameter in question has
actually changed (LUN capacity has increased, etc.).

Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] sd: fix compile failure with CONFIG_BLK_DEV_INTEGRITY=n</title>
<updated>2008-10-15T12:41:28Z</updated>
<author>
<name>James Bottomley</name>
</author>
<published>2008-10-13T19:20:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c393e6e457fb41169dd110c1b96a138394c2d7b'/>
<id>urn:sha1:4c393e6e457fb41169dd110c1b96a138394c2d7b</id>
<content type='text'>
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] sd: Correctly handle all combinations of DIF and DIX</title>
<updated>2008-10-13T13:28:58Z</updated>
<author>
<name>Martin K. Petersen</name>
</author>
<published>2008-09-19T22:47:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9e06688e7d60149cc9ef78ff29515c20186bb418'/>
<id>urn:sha1:9e06688e7d60149cc9ef78ff29515c20186bb418</id>
<content type='text'>
The old detection code couldn't handle all possible combinations of
DIX and DIF.  This version does, giving priority to DIX if the
controller is capable.

Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>Re-introduce "[SCSI] extend the last_sector_bug flag to cover more sectors"</title>
<updated>2008-08-06T04:42:21Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2008-08-06T04:42:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=18351070b86d155713cf790b26af4f21b1fd0b29'/>
<id>urn:sha1:18351070b86d155713cf790b26af4f21b1fd0b29</id>
<content type='text'>
This re-introduces commit 2b142900784c6e38c8d39fa57d5f95ef08e735d8,
which was reverted due to the regression it caused by commit
fca082c9f1e11ec07efa8d2f9f13688521253f36.

That regression was not root-caused by the original commit, it was just
uncovered by it, and the real fix was done by Alan Stern in commit
580da34847488b404218d1d7f53b156f245f5555 ("Fix USB storage hang on
command abort").

We can thus re-introduce the change that was confirmed by Alan Jenkins
to be still required by his odd card reader.

Cc: Alan Jenkins &lt;alan-jenkins@tuffmail.co.uk&gt;
Cc: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Cc: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "[SCSI] extend the last_sector_bug flag to cover more sectors"</title>
<updated>2008-08-04T23:36:20Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2008-08-04T23:36:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fca082c9f1e11ec07efa8d2f9f13688521253f36'/>
<id>urn:sha1:fca082c9f1e11ec07efa8d2f9f13688521253f36</id>
<content type='text'>
This reverts commit 2b142900784c6e38c8d39fa57d5f95ef08e735d8, since it
seems to break some other USB storage devices (at least a JMicron USB to
ATA bridge).  As such, while it apparently fixes some cardreaders, it
would need to be made conditional on the exact reader it fixes in order
to avoid causing regressions.

Cc: Alan Jenkins &lt;alan-jenkins@tuffmail.co.uk&gt;
Cc: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
