<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rhel7-kernel-misery/include/target, branch master</title>
<subtitle>Attempts to make the RHEL7 kernel work in minimal CI</subtitle>
<id>https://git.zx2c4.com/rhel7-kernel-misery/atom/include/target?h=master</id>
<link rel='self' href='https://git.zx2c4.com/rhel7-kernel-misery/atom/include/target?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/'/>
<updated>2020-09-30T14:24:59Z</updated>
<entry>
<title>linux-3.10.0-1160.el7</title>
<updated>2020-09-30T14:24:59Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-09-30T14:24:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=e4784e2fd10cc4fe5e38037d19ebf50d4ad7de6f'/>
<id>urn:sha1:e4784e2fd10cc4fe5e38037d19ebf50d4ad7de6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>target: Propigate up -&gt;cmd_kref put return via transport_generic_free_cmd</title>
<updated>2013-05-31T08:21:23Z</updated>
<author>
<name>Nicholas Bellinger</name>
<email>nab@linux-iscsi.org</email>
</author>
<published>2013-05-31T07:46:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=d5ddad4168348337d98d6b8f156a3892de444411'/>
<id>urn:sha1:d5ddad4168348337d98d6b8f156a3892de444411</id>
<content type='text'>
Go ahead and propigate up the -&gt;cmd_kref put return value from
target_put_sess_cmd() -&gt; transport_release_cmd() -&gt; transport_put_cmd()
-&gt; transport_generic_free_cmd().

This is useful for certain fabrics when determining the active I/O
shutdown case with SCF_ACK_KREF where a final target_put_sess_cmd()
is still required by the caller.

Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: Re-instate sess_wait_list for target_wait_for_sess_cmds</title>
<updated>2013-05-30T04:30:33Z</updated>
<author>
<name>Nicholas Bellinger</name>
<email>nab@linux-iscsi.org</email>
</author>
<published>2013-05-15T07:52:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=9b31a328e344e62e7cc98ae574edcb7b674719bb'/>
<id>urn:sha1:9b31a328e344e62e7cc98ae574edcb7b674719bb</id>
<content type='text'>
Switch back to pre commit 1c7b13fe652 list splicing logic for active I/O
shutdown with tcm_qla2xxx + ib_srpt fabrics.

The original commit was done under the incorrect assumption that it's safe to
walk se_sess-&gt;sess_cmd_list unprotected in target_wait_for_sess_cmds() after
sess-&gt;sess_tearing_down = 1 has been set by target_sess_cmd_list_set_waiting()
during session shutdown.

So instead of adding sess-&gt;sess_cmd_lock protection around sess-&gt;sess_cmd_list
during target_wait_for_sess_cmds(), switch back to sess-&gt;sess_wait_list to
allow wait_for_completion() + TFO-&gt;release_cmd() to occur without having to
walk -&gt;sess_cmd_list after the list_splice.

Also add a check to exit if target_sess_cmd_list_set_waiting() has already
been called, and add a WARN_ON to check for any fabric bug where new se_cmds
are added to sess-&gt;sess_cmd_list after sess-&gt;sess_tearing_down = 1 has already
been set.

Cc: Joern Engel &lt;joern@logfs.org&gt;
Cc: Roland Dreier &lt;roland@kernel.org&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: Remove unused wait_for_tasks bit in target_wait_for_sess_cmds</title>
<updated>2013-05-21T04:44:10Z</updated>
<author>
<name>Joern Engel</name>
<email>joern@logfs.org</email>
</author>
<published>2013-05-15T07:44:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=be646c2d2ba8e2e56596d72633705f8286698c25'/>
<id>urn:sha1:be646c2d2ba8e2e56596d72633705f8286698c25</id>
<content type='text'>
Drop unused transport_wait_for_tasks() check in target_wait_for_sess_cmds
shutdown code, and convert tcm_qla2xxx + ib_srpt fabric drivers.

Cc: Joern Engel &lt;joern@logfs.org&gt;
Cc: Roland Dreier &lt;roland@kernel.org&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: removed unused transport_state flag</title>
<updated>2013-05-15T08:46:53Z</updated>
<author>
<name>Joern Engel</name>
<email>joern@logfs.org</email>
</author>
<published>2013-05-13T20:30:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=a1321ddd27e65c6ada5b9a12cae4ee2612d76893'/>
<id>urn:sha1:a1321ddd27e65c6ada5b9a12cae4ee2612d76893</id>
<content type='text'>
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 unused struct members in se_dev_entry</title>
<updated>2013-05-03T23:42:18Z</updated>
<author>
<name>Andy Grover</name>
<email>agrover@redhat.com</email>
</author>
<published>2013-04-25T22:04:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=2acd09f3232825a0e95134703ec59bc327ef9967'/>
<id>urn:sha1:2acd09f3232825a0e95134703ec59bc327ef9967</id>
<content type='text'>
Some were incremented, but never used anywhere from what I could tell.

Signed-off-by: Andy Grover &lt;agrover@redhat.com&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>iscsi-target: Add iscsit_transport API template</title>
<updated>2013-04-25T08:05:26Z</updated>
<author>
<name>Nicholas Bellinger</name>
<email>nab@linux-iscsi.org</email>
</author>
<published>2013-03-07T05:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=3f99306337ba1871afc8568e8b36004ce3cee039'/>
<id>urn:sha1:3f99306337ba1871afc8568e8b36004ce3cee039</id>
<content type='text'>
Add basic struct iscsit_transport API template to allow iscsi-target for
running with external transport modules using existing iscsi_target_core.h
code.

For all external modules, this calls try_module_get() and module_put()
to obtain + release an external iscsit_transport module reference count.

Also include the iscsi-target symbols necessary in iscsi_transport.h to
allow external transport modules to function.

v3 changes:
- Add iscsit_build_reject export for ISTATE_SEND_REJECT usage

v2 changes:

- Drop unnecessary export of iscsit_get_transport + iscsit_put_transport (roland)
- Add -&gt;iscsit_queue_data_in() to remove extra context switch on RDMA_WRITE
- Add -&gt;iscsit_queue_status() to remove extra context switch on IB_SEND status
- Add -&gt;iscsit_get_dataout() to remove extra context switch on RDMA_READ
- Drop -&gt;iscsit_free_cmd()
- Drop -&gt;iscsit_unmap_cmd()
- Rename iscsit_create_transport() -&gt; iscsit_register_transport() (andy)
- Rename iscsit_destroy_transport() -&gt; iscsit_unregister_transport() (andy)

Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: Add export of target_get_sess_cmd symbol</title>
<updated>2013-04-25T08:05:26Z</updated>
<author>
<name>Nicholas Bellinger</name>
<email>nab@linux-iscsi.org</email>
</author>
<published>2013-03-22T05:54:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=20361e69ba0b52880f9a692bb80aceb989bf0e77'/>
<id>urn:sha1:20361e69ba0b52880f9a692bb80aceb989bf0e77</id>
<content type='text'>
Export target_get_sess_cmd() symbol so that it can be used by
iscsi-target.

Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: Add sbc_execute_unmap() helper</title>
<updated>2013-04-25T08:05:24Z</updated>
<author>
<name>Asias He</name>
<email>asias@redhat.com</email>
</author>
<published>2013-02-25T06:03:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=86d7182985d25900929adce14fffd729cc8c6fb8'/>
<id>urn:sha1:86d7182985d25900929adce14fffd729cc8c6fb8</id>
<content type='text'>
iblock_execute_unmap() and fd_execute_unmap share a lot of code.
Add sbc_execute_unmap() helper to remove duplicated code for
iblock_execute_unmap() and fd_execute_unmap().

Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Cc: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
Signed-off-by: Asias He &lt;asias@redhat.com&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: Rename spc_get_write_same_sectors -&gt; sbc_get_write_same_sectors</title>
<updated>2013-02-23T20:46:14Z</updated>
<author>
<name>Roland Dreier</name>
<email>roland@purestorage.com</email>
</author>
<published>2013-02-22T17:52:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=972b29c8f86093f44e1d781588bd5c5faae3d8e3'/>
<id>urn:sha1:972b29c8f86093f44e1d781588bd5c5faae3d8e3</id>
<content type='text'>
Trivial, but WRITE SAME is an SBC command so it seems strange for a
related function (defined in target_core_sbc.c) to be in the spc_
namespace.

Signed-off-by: Roland Dreier &lt;roland@purestorage.com&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
</feed>
