<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/target, branch v3.5</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.5</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2012-06-13T02:33:05Z</updated>
<entry>
<title>target: Add TFO-&gt;put_session() caller for HW fabric session shutdown</title>
<updated>2012-06-13T02:33:05Z</updated>
<author>
<name>Joern Engel</name>
<email>joern@logfs.org</email>
</author>
<published>2012-05-18T20:57:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4149268e7816d719b0fde8e89aaa6db8c168fc43'/>
<id>urn:sha1:4149268e7816d719b0fde8e89aaa6db8c168fc43</id>
<content type='text'>
This patch adds an optional target_core_fabric_ops-&gt;put_session() caller
within the existing target_put_session() code path.

This is required by tcm_qla2xxx code in order to invoke it's own fabric
specific session shutdown handler using se_session-&gt;sess_kref.

Signed-off-by: Joern Engel &lt;joern@logfs.org&gt;
Cc: Roland Dreier &lt;roland@purestorage.com&gt;
Cc: Arun Easi &lt;arun.easi@qlogic.com&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: Add MI_REPORT_TARGET_PGS ext. header + implict_trans_secs attribute</title>
<updated>2012-05-17T07:45:58Z</updated>
<author>
<name>Nicholas Bellinger</name>
<email>nab@linux-iscsi.org</email>
</author>
<published>2012-05-17T05:02:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5b9a4d7280e160982a8ea37bc03619f53b5c98b7'/>
<id>urn:sha1:5b9a4d7280e160982a8ea37bc03619f53b5c98b7</id>
<content type='text'>
This patch adds support for ALUA MI_REPORT_TARGET_PGS extended header
format defined within SPC-4.  It changes target core ALUA emulation logic
within target_emulate_report_target_port_groups() to support both the
extended and original length only header formats.

It includes adding a new 'implict_trans_secs' attribute for each ALUA
target port group to control the value returned to the application client
for an recommended implict translation timeout in seconds.  By default
this value is currently set to zero, and limited up to 255 by virtue of
using a single byte in the extended header format.

This value is used by target_emulate_report_target_port_groups() within
the extended header logic to set IMPLICIT TRANSITION TIME as defined by
spc4r30.

Cc: Hannes Reinecke &lt;hare@suse.de&gt;
Cc: Rob Evers &lt;revers@redhat.com&gt;
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: Roland Dreier &lt;roland@purestorage.com&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: make target_put_session void</title>
<updated>2012-05-11T22:01:52Z</updated>
<author>
<name>Jörn Engel</name>
<email>joern@logfs.org</email>
</author>
<published>2012-05-11T14:35:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=33933a0e962bba4af32de7db912e2fdfef603d24'/>
<id>urn:sha1:33933a0e962bba4af32de7db912e2fdfef603d24</id>
<content type='text'>
No real change, it effectively already was.

Signed-off-by: Joern Engel &lt;joern@logfs.org&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: Remove max_sectors device attribute for modern se_task less code</title>
<updated>2012-05-09T22:08:47Z</updated>
<author>
<name>Nicholas Bellinger</name>
<email>nab@linux-iscsi.org</email>
</author>
<published>2012-05-09T19:42:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=11e764bd5ed4bb930e0ec5dd161df58307507347'/>
<id>urn:sha1:11e764bd5ed4bb930e0ec5dd161df58307507347</id>
<content type='text'>
This patch removes the original usage of dev_attr-&gt;max_sectors in favor of
dev_attr-&gt;hw_max_sectors that is now being enforced by target core from
within transport_generic_cmd_sequencer() for SCF_SCSI_DATA_SG_IO_CDB ops.

After the recent se_task removal patches from hch, this value for IBLOCK
backends being set via configfs by userspace from an saved max_sectors
value that is turning out to be problematic, so it makes sense to go ahead
and remove this now legacy attribute all-together.

This patch also continues to make se_dev_set_default_attribs() do
(sectors / block_size) alignment for what actually get used by
target_core_mod to be safe here, following the same alignment currently
used by fabric_max_sectors.

Reported-by: Andy Grover &lt;agrover@redhat.com&gt;
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: Roland Dreier &lt;roland@purestorage.com&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: remove the t_se_count field in struct se_cmd</title>
<updated>2012-05-06T22:11:28Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@infradead.org</email>
</author>
<published>2012-04-24T04:25:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d5dc28eb92f2a2305a02cb3a5f1ed36542d47512'/>
<id>urn:sha1:d5dc28eb92f2a2305a02cb3a5f1ed36542d47512</id>
<content type='text'>
Now that tasks are gone we are guaranteed to only get a single completion
per command, and thus don't need this counter.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: remove the t_task_cdbs_ex_left field in struct se_cmd</title>
<updated>2012-05-06T22:11:27Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@infradead.org</email>
</author>
<published>2012-04-24T04:25:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d43d6aea844e66b847e3a0e5cb2c24b6ba84908a'/>
<id>urn:sha1:d43d6aea844e66b847e3a0e5cb2c24b6ba84908a</id>
<content type='text'>
Now that tasks are gone we are guaranteed to only get a single completion
per command, and thus don't need this counter.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: remove the t_task_cdbs_left field in struct se_cmd</title>
<updated>2012-05-06T22:11:27Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@infradead.org</email>
</author>
<published>2012-04-24T04:25:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=226b6faf2e30e272ee5a52c2ed0a8c8a1d7b47d1'/>
<id>urn:sha1:226b6faf2e30e272ee5a52c2ed0a8c8a1d7b47d1</id>
<content type='text'>
Now that tasks are gone we are guaranteed to only get a single completion
per command, and thus don't need this counter.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: remove struct se_task</title>
<updated>2012-05-06T22:11:26Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@infradead.org</email>
</author>
<published>2012-04-24T04:25:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5787cacd0bd5ee016ad807b244550d34fe2beebe'/>
<id>urn:sha1:5787cacd0bd5ee016ad807b244550d34fe2beebe</id>
<content type='text'>
We can use struct se_cmd for everything it did.  Make sure to pass the S/G
list and data direction to the execution function to ease adding back BIDI
support later on.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: move the state and execute lists to the command</title>
<updated>2012-05-06T22:11:26Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@infradead.org</email>
</author>
<published>2012-04-24T04:25:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cf572a9627c9ae86082216de109780c1d2e2ee28'/>
<id>urn:sha1:cf572a9627c9ae86082216de109780c1d2e2ee28</id>
<content type='text'>
Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: simplify command to task linkage</title>
<updated>2012-05-06T22:11:25Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@infradead.org</email>
</author>
<published>2012-04-24T04:25:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=785fdf70b2b46588c973ad8b65ed62871994452f'/>
<id>urn:sha1:785fdf70b2b46588c973ad8b65ed62871994452f</id>
<content type='text'>
Now that we only have a single task per command we can use a direct pointer
to it instead of list.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
</feed>
