<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/target/target_core_internal.h, branch linux-4.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-12-02T05:36:02Z</updated>
<entry>
<title>target: Add EXPORT_SYMBOL for existing se_dev_set_*</title>
<updated>2014-12-02T05:36:02Z</updated>
<author>
<name>Nicholas Bellinger</name>
</author>
<published>2014-11-28T03:15:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d30cd1238c2f89662c82d5d2c4686971a6dc3693'/>
<id>urn:sha1:d30cd1238c2f89662c82d5d2c4686971a6dc3693</id>
<content type='text'>
Now that target_core_backend_configfs.h macros will be using these
se_dev_set attribute functions externally to allow backend drivers
to populate different attributes, go ahead and add EXPORT_SYMBOL()
for the existing default set of 30 device attributes.

Also update target_core_backend.h with proper function prototypes.

Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: Add force_pr_aptpl device attribute</title>
<updated>2014-10-04T05:41:20Z</updated>
<author>
<name>Nicholas Bellinger</name>
</author>
<published>2014-10-04T01:06:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=92404e609a2dffc55a9a22540ed48b6f0edc9c59'/>
<id>urn:sha1:92404e609a2dffc55a9a22540ed48b6f0edc9c59</id>
<content type='text'>
This patch adds a force_pr_aptpl device attribute used to force SPC-3 PR
Activate Persistence across Target Power Loss (APTPL) operation.  This
makes PR metadata write-out occur during state change regardless if new
PERSISTENT_RESERVE_OUT CDBs have their APTPL feature bit set.

This is useful during H/A failover in active/passive setups where all PR
state is being re-created on a different node, driven by configfs backend
device + export layout and pre-loaded $DEV/pr/res_aptpl_metadata.

Cc: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: Change core_dev_del_lun to take a se_lun instead of unpacked_lun</title>
<updated>2014-10-01T21:38:48Z</updated>
<author>
<name>Andy Grover</name>
</author>
<published>2014-06-30T23:39:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd9d7cbaec8b622eee4edcd8bf481c4047f74915'/>
<id>urn:sha1:cd9d7cbaec8b622eee4edcd8bf481c4047f74915</id>
<content type='text'>
Remove core_tpg_pre_dellun entirely, since we don't need to get/check
a pointer we already have.

Nothing else can return an error, so core_dev_del_lun can return void.

Rename core_tpg_post_dellun to remove_lun - a clearer name, now that
pre_dellun is gone.

Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
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>target: core_tpg_post_dellun can return void</title>
<updated>2014-10-01T21:38:41Z</updated>
<author>
<name>Andy Grover</name>
</author>
<published>2014-06-30T23:39:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc83881f2c57caaf4b14adaffa65595640a59661'/>
<id>urn:sha1:cc83881f2c57caaf4b14adaffa65595640a59661</id>
<content type='text'>
Nothing in it can raise an error.

Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
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>target/configfs: Expose protection device attributes</title>
<updated>2014-01-18T09:57:47Z</updated>
<author>
<name>Nicholas Bellinger</name>
</author>
<published>2014-01-08T18:19:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ed22c9cbca61f0f696a0a1cbbb777da281bd79d'/>
<id>urn:sha1:2ed22c9cbca61f0f696a0a1cbbb777da281bd79d</id>
<content type='text'>
This patch adds support for exposing DIF protection device
attributes via configfs.  This includes:

   pi_prot_type: Protection Type (0, 1, 3 currently support)
   pi_prot_format: Protection Format Operation (FILEIO only)

Within se_dev_set_pi_prot_type() it also adds the se_subsystem_api
device callbacks to setup per device protection information.

v2 changes:
  - Drop pi_guard_type + pi_prot_version related code (MKP)
  - Add pi_prot_format logic (Sagi)
  - Add -&gt;free_prot callback in target_free_device
  - Add hw_pi_prot_type read-only attribute

Cc: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: Hannes Reinecke &lt;hare@suse.de&gt;
Cc: Sagi Grimberg &lt;sagig@mellanox.com&gt;
Cc: Or Gerlitz &lt;ogerlitz@mellanox.com&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: Don't use void* when passing dev in core_tpg_add_lun</title>
<updated>2013-12-16T21:29:20Z</updated>
<author>
<name>Andy Grover</name>
</author>
<published>2013-12-13T00:12:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=340dbf729c3395cf1317890d033aa9ac7347766c'/>
<id>urn:sha1:340dbf729c3395cf1317890d033aa9ac7347766c</id>
<content type='text'>
Especially since it's actually a device.

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>target: Rename core_tpg_{pre,post}_addlun for clarity</title>
<updated>2013-12-16T21:28:19Z</updated>
<author>
<name>Andy Grover</name>
</author>
<published>2013-11-26T20:07:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d344f8a15637e8b57a0d05a6d50182c11de08606'/>
<id>urn:sha1:d344f8a15637e8b57a0d05a6d50182c11de08606</id>
<content type='text'>
"pre" is really an allocation function. The only time it isn't called is
for virtual_lun0, which is statically allocated. Renaming that to "alloc"
lets the other function not need to be "post", and just be called
core_tpg_add_lun.

(nab: fix minor applying fuzz in core_tpg_setup_virtual_lun0)

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>target: Add percpu refcounting for se_lun access</title>
<updated>2013-11-07T22:24:52Z</updated>
<author>
<name>Nicholas Bellinger</name>
</author>
<published>2013-11-07T05:03:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5277797dc4ed873d067477d84e910b39d113f649'/>
<id>urn:sha1:5277797dc4ed873d067477d84e910b39d113f649</id>
<content type='text'>
This patch adds percpu refcounting for se_lun access that allows the
association of an se_lun + se_cmd in transport_lookup_cmd_lun() to
occur without an extra list_head for tracking outstanding I/O during
se_lun shutdown.

This effectively changes se_lun shutdown logic to wait for outstanding
I/O percpu references to complete in transport_lun_remove_cmd() using
se_lun-&gt;lun_ref_comp, instead of explicitly draining the per se_lun
command list and waiting for individual se_cmd descriptor processing
to complete.

Cc: Kent Overstreet &lt;kmo@daterainc.com&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: Export symbol core_tpg_check_initiator_node_acl</title>
<updated>2013-10-24T04:30:07Z</updated>
<author>
<name>Thomas Glanzmann</name>
</author>
<published>2013-10-07T21:13:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b3fde035714b83ef7ddbbd5a520a2150d990349b'/>
<id>urn:sha1:b3fde035714b83ef7ddbbd5a520a2150d990349b</id>
<content type='text'>
Export symbol core_tpg_check_initiator_node_acl and move prototype from the
private drivers/target/target_core_internal.h to the public
include/target/target_core_fabric.h

Signed-off-by: Thomas Glanzmann &lt;thomas@glanzmann.de&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
</content>
</entry>
<entry>
<title>target: Add Third Party Copy (3PC) bit in INQUIRY response</title>
<updated>2013-09-10T23:48:46Z</updated>
<author>
<name>Nicholas Bellinger</name>
</author>
<published>2013-08-22T21:17:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d397a445f43c7ae9b35260f236a08d5b5760de3d'/>
<id>urn:sha1:d397a445f43c7ae9b35260f236a08d5b5760de3d</id>
<content type='text'>
This patch adds the Third Party Copy (3PC) bit to signal support
for EXTENDED_COPY within standard inquiry response data.

Also add emulate_3pc device attribute in configfs (enabled by default)
to allow the exposure of this bit to be disabled, if necessary.

Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: Hannes Reinecke &lt;hare@suse.de&gt;
Cc: Martin Petersen &lt;martin.petersen@oracle.com&gt;
Cc: Chris Mason &lt;chris.mason@fusionio.com&gt;
Cc: Roland Dreier &lt;roland@purestorage.com&gt;
Cc: Zach Brown &lt;zab@redhat.com&gt;
Cc: James Bottomley &lt;JBottomley@Parallels.com&gt;
Cc: Nicholas Bellinger &lt;nab@linux-iscsi.org&gt;
Signed-off-by: Nicholas Bellinger &lt;nab@daterainc.com&gt;
</content>
</entry>
</feed>
