<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/scsi/st.h, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-12-10T14:54:13Z</updated>
<entry>
<title>[SCSI] st: fix mdata-&gt;page_order handling</title>
<updated>2009-12-10T14:54:13Z</updated>
<author>
<name>FUJITA Tomonori</name>
</author>
<published>2009-11-26T00:24:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c982c368bb90adbd312faa05d0cfd842e9ab45a7'/>
<id>urn:sha1:c982c368bb90adbd312faa05d0cfd842e9ab45a7</id>
<content type='text'>
dio transfer always resets mdata-&gt;page_order to zero. It breaks
high-order pages previously allocated for non-dio transfer.

This patches adds reserved_page_order to st_buffer structure to save
page order for non-dio transfer.

http://bugzilla.kernel.org/show_bug.cgi?id=14563

When enlarge_buffer() allocates 524288 from 0, st uses six-order page
allocation. So mdata-&gt;page_order is 6 and frp_seg is 2.

After that, if st uses dio, sgl_map_user_pages() sets
mdata-&gt;page_order to 0 for st_do_scsi(). After that, when we call
normalize_buffer(), it frees only free frp_seg * PAGE_SIZE (2 * 4096)
though we should free frp_seg * PAGE_SIZE &lt;&lt; 6 (2 * 4096 &lt;&lt; 6). So we
see buffer_size is set to 516096 (524288 - 8192).

Reported-by: Joachim Breuer &lt;linux-kernel@jmbreuer.net&gt;
Tested-by: Joachim Breuer &lt;linux-kernel@jmbreuer.net&gt;
Acked-by: Kai Makisara &lt;kai.makisara@kolumbus.fi&gt;
Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Cc: stable@kernel.org
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
</entry>
<entry>
<title>[SCSI] st: remove unused frp_sg_current</title>
<updated>2009-01-02T18:02:25Z</updated>
<author>
<name>FUJITA Tomonori</name>
</author>
<published>2008-12-18T05:49:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=edf69c58c74eeeb48f62f267ce41f7827cb4dd06'/>
<id>urn:sha1:edf69c58c74eeeb48f62f267ce41f7827cb4dd06</id>
<content type='text'>
frp_sg_current in struct st_buffer is always zero. We don't need it.

Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Acked-by: Kai Makisara &lt;Kai.Makisara@kolumbus.fi&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] st: remove unused orig_frp_segs</title>
<updated>2009-01-02T18:02:01Z</updated>
<author>
<name>FUJITA Tomonori</name>
</author>
<published>2008-12-18T05:49:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ac63cf5c05f956f52ab418a07f77d12328f3b5f'/>
<id>urn:sha1:1ac63cf5c05f956f52ab418a07f77d12328f3b5f</id>
<content type='text'>
orig_frp_segs in struct st_buffer is always zero. We don't need it.

Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Acked-by: Kai Makisara &lt;Kai.Makisara@kolumbus.fi&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] st: remove struct scatterlist</title>
<updated>2009-01-02T18:01:15Z</updated>
<author>
<name>FUJITA Tomonori</name>
</author>
<published>2008-12-18T05:49:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b3d59115ba2b2550d70eafd929f1fa607fe588dc'/>
<id>urn:sha1:b3d59115ba2b2550d70eafd929f1fa607fe588dc</id>
<content type='text'>
This removes the usage of struct scatterlist completely.

Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Acked-by: Kai Makisara &lt;Kai.Makisara@kolumbus.fi&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] st: kill struct st_buff_fragment</title>
<updated>2009-01-02T18:00:53Z</updated>
<author>
<name>FUJITA Tomonori</name>
</author>
<published>2008-12-18T05:49:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=08c95832427b449ecfb357696f7b8e239b79a72c'/>
<id>urn:sha1:08c95832427b449ecfb357696f7b8e239b79a72c</id>
<content type='text'>
This removes struct st_buff_fragment and use reserved_pages array to
store fragment buffer.

Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Acked-by: Kai Makisara &lt;Kai.Makisara@kolumbus.fi&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] st: convert dio path to use st_scsi_execute</title>
<updated>2009-01-02T17:55:36Z</updated>
<author>
<name>FUJITA Tomonori</name>
</author>
<published>2008-12-18T05:49:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6620742f72d2fcf311e3fc8aa2476daa91fa3f31'/>
<id>urn:sha1:6620742f72d2fcf311e3fc8aa2476daa91fa3f31</id>
<content type='text'>
This patch converts the dio path (mmap) to use st_scsi_execute. IOW,
it removes scsi_execute_async in the non dio path.

scsi_execute_async has gone! This also remove unused st_sleep_done.

Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Acked-by: Kai Makisara &lt;Kai.Makisara@kolumbus.fi&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] st: add st_scsi_execute helper function</title>
<updated>2009-01-02T17:54:45Z</updated>
<author>
<name>FUJITA Tomonori</name>
</author>
<published>2008-12-18T05:49:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13b53b443482623d33fd9446289d320e1c719f02'/>
<id>urn:sha1:13b53b443482623d33fd9446289d320e1c719f02</id>
<content type='text'>
st_scsi_execute is a helper function to perform SCSI commands
involving data transfer between user and kernel space (st_read and
st_write).

It's the future plan to combine this with st_scsi_kern_execute helper
function.

Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Acked-by: Kai Makisara &lt;Kai.Makisara@kolumbus.fi&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] st: add struct rq_map_data support</title>
<updated>2009-01-02T17:54:23Z</updated>
<author>
<name>FUJITA Tomonori</name>
</author>
<published>2008-12-18T05:49:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d0e1ae31be226e83cdd0684625bf1535518ee0d3'/>
<id>urn:sha1:d0e1ae31be226e83cdd0684625bf1535518ee0d3</id>
<content type='text'>
This adds struct rq_map_data and the array of pointers to store
fragment buffers to struct st_buffer.

This patch doesn't remove st_buf_fragment but the latter patch does.

Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Acked-by: Kai Makisara &lt;Kai.Makisara@kolumbus.fi&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] st: add option to use SILI in variable block reads</title>
<updated>2008-04-07T17:15:39Z</updated>
<author>
<name>Kai Makisara</name>
</author>
<published>2008-02-24T20:23:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40f6b36c6243462fb95d0343237331c423494b03'/>
<id>urn:sha1:40f6b36c6243462fb95d0343237331c423494b03</id>
<content type='text'>
Add new option MT_ST_SILI to enable setting the SILI bit in reads in variable
block mode. If SILI is set, reading a block shorter than the byte count does
not result in CHECK CONDITION. The length of the block is determined using the
residual count from the HBA. Avoiding the REQUEST SENSE command for every
block speeds up some real applications considerably.

Signed-off-by: Kai Makisara &lt;kai.makisara@kolumbus.fi&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] st: compile fix when DEBUG set to one</title>
<updated>2008-02-22T23:21:37Z</updated>
<author>
<name>Kai Makisara</name>
</author>
<published>2008-02-22T18:11:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=deee13dfd6dd6c18518ea725f11111ebd9bf4fa8'/>
<id>urn:sha1:deee13dfd6dd6c18518ea725f11111ebd9bf4fa8</id>
<content type='text'>
Remove the now useless counting of adjacent pages from the debugging code in
to make it compile when DEBUG is set non-zero.

Signed-off-by: Kai Makisara &lt;kai.makisara@kolumbus.fi&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
</feed>
