<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/scsi/device_handler, branch v3.4.55</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/scsi/device_handler?h=v3.4.55</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/scsi/device_handler?h=v3.4.55'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-10-07T15:32:29Z</updated>
<entry>
<title>SCSI: scsi_dh_alua: Enable STPG for unavailable ports</title>
<updated>2012-10-07T15:32:29Z</updated>
<author>
<name>Bart Van Assche</name>
<email>bvanassche@acm.org</email>
</author>
<published>2012-08-24T09:08:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ead94148559d54f0aae235dda91dfb98dfb1eae7'/>
<id>urn:sha1:ead94148559d54f0aae235dda91dfb98dfb1eae7</id>
<content type='text'>
commit e47f8976d8e573928824a06748f7bc82c58d747f upstream.

A quote from SPC-4: "While in the unavailable primary target port
asymmetric access state, the device server shall support those of
the following commands that it supports while in the active/optimized
state: [ ... ] d) SET TARGET PORT GROUPS; [ ... ]". Hence enable
sending STPG to a target port group that is in the unavailable state.

Signed-off-by: Bart Van Assche &lt;bvanassche@acm.org&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Acked-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_rdac: Fix for unbalanced reference count</title>
<updated>2012-02-22T18:15:19Z</updated>
<author>
<name>Moger, Babu</name>
<email>Babu.Moger@netapp.com</email>
</author>
<published>2012-02-02T15:21:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3569e5374df66a42ab66368b8bbb075e81d4e85c'/>
<id>urn:sha1:3569e5374df66a42ab66368b8bbb075e81d4e85c</id>
<content type='text'>
This patch fixes an unbalanced refcount issue.

Elevating the lock for both kref_put and also for controller node deletion.
Previously, controller deletion was protected but the not the kref_put. This
was causing the other thread to pick up the controller structure which was
already kref'd zero.

This was causing the following WARN_ON and also sometimes panic.

WARNING: at lib/kref.c:43 kref_get+0x2d/0x30() (Not tainted)
Hardware name: IBM System x3655 -[7985AC1]-
Modules linked in: fuse scsi_dh_rdac autofs4 nfs lockd fscache nfs_acl
auth_rpcgss sunrpc 8021q garp stp llc ipv6 ib_srp(U) scsi_transport_srp
scsi_tgt ib_cm(U) ib_sa(U) ib_uverbs(U) ib_umad(U) mlx4_ib(U) mlx4_core(U)
ib_mthca(U) ib_mad(U) ib_core(U) dm_mirror dm_region_hash dm_log dm_round_robin
dm_multipath uinput bnx2 ses enclosure sg ibmpex ibmaem ipmi_msghandler
serio_raw k8temp hwmon amd64_edac_mod edac_core edac_mce_amd shpchp i2c_piix4
ext4 mbcache jbd2 sr_mod cdrom sd_mod crc_t10dif sata_svw pata_acpi ata_generic
pata_serverworks aacraid radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core
dm_mod [last unloaded: freq_table]
Pid: 13735, comm: srp_daemon Not tainted 2.6.32-71.el6.x86_64 #1
Call Trace:
[&lt;ffffffff8106b857&gt;] warn_slowpath_common+0x87/0xc0
[&lt;ffffffff8106b8aa&gt;] warn_slowpath_null+0x1a/0x20
[&lt;ffffffff8125c39d&gt;] kref_get+0x2d/0x30
[&lt;ffffffffa01b4029&gt;] rdac_bus_attach+0x459/0x580 [scsi_dh_rdac]
[&lt;ffffffff8135232a&gt;] scsi_dh_handler_attach+0x2a/0x80
[&lt;ffffffff81352c7b&gt;] scsi_dh_notifier+0x9b/0xa0
[&lt;ffffffff814cd7a5&gt;] notifier_call_chain+0x55/0x80
[&lt;ffffffff8109711a&gt;] __blocking_notifier_call_chain+0x5a/0x80
[&lt;ffffffff81097156&gt;] blocking_notifier_call_chain+0x16/0x20
[&lt;ffffffff8132bec5&gt;] device_add+0x515/0x640
[&lt;ffffffff813329e4&gt;] ? attribute_container_device_trigger+0xc4/0xe0
[&lt;ffffffff8134f659&gt;] scsi_sysfs_add_sdev+0x89/0x2c0
[&lt;ffffffff8134d096&gt;] scsi_probe_and_add_lun+0xea6/0xed0
[&lt;ffffffff8134beb2&gt;] ? scsi_alloc_target+0x292/0x2d0
[&lt;ffffffff8134d1e1&gt;] __scsi_scan_target+0x121/0x750
[&lt;ffffffff811df806&gt;] ? sysfs_create_file+0x26/0x30
[&lt;ffffffff8132b759&gt;] ? device_create_file+0x19/0x20
[&lt;ffffffff81332838&gt;] ? attribute_container_add_attrs+0x78/0x90
[&lt;ffffffff814b008c&gt;] ? klist_next+0x4c/0xf0
[&lt;ffffffff81332e30&gt;] ? transport_configure+0x0/0x20
[&lt;ffffffff813329e4&gt;] ? attribute_container_device_trigger+0xc4/0xe0
[&lt;ffffffff8134df40&gt;] scsi_scan_target+0xd0/0xe0
[&lt;ffffffffa02f053a&gt;] srp_create_target+0x75a/0x890 [ib_srp]
[&lt;ffffffff8132a130&gt;] dev_attr_store+0x20/0x30
[&lt;ffffffff811df145&gt;] sysfs_write_file+0xe5/0x170
[&lt;ffffffff8116c818&gt;] vfs_write+0xb8/0x1a0
[&lt;ffffffff810d40a2&gt;] ? audit_syscall_entry+0x272/0x2a0
[&lt;ffffffff8116d251&gt;] sys_write+0x51/0x90
[&lt;ffffffff81013172&gt;] system_call_fastpath+0x16/0x1b

Signed-off-by: Babu Moger &lt;babu.moger@netapp.com&gt;
Acked-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_alua: Retry the check-condition in case Mode Parameters Changed</title>
<updated>2012-01-10T23:01:24Z</updated>
<author>
<name>Moger, Babu</name>
<email>Babu.Moger@netapp.com</email>
</author>
<published>2011-12-21T23:01:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=410f02d813212eef1dedfcfd43460dd11a0ff707'/>
<id>urn:sha1:410f02d813212eef1dedfcfd43460dd11a0ff707</id>
<content type='text'>
This patch adds a check-condition in scsi_dh_alua handler for a retry.
Sometimes, I have seen attach failing due to this check-condition with
following error messages on NetApp E series storage.

Dec  7 15:31:01 nilgiris kernel: [102979.696673] scsi 3:0:2:9: alua: port group 00 rel port 01
Dec  7 15:31:01 nilgiris kernel: [102979.697082] scsi 3:0:2:9: alua: rtpg failed with 8000002
Dec  7 15:31:01 nilgiris kernel: [102979.697086] scsi 3:0:2:9: alua: rtpg sense code 06/2a/01
Dec  7 15:31:01 nilgiris kernel: [102979.697088] scsi 3:0:2:9: alua: not attached

Signed-off-by: Babu Moger &lt;babu.moger@netapp.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_rdac: Fix error path</title>
<updated>2012-01-10T23:01:18Z</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2011-11-18T00:44:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9fc397fc0878c9540af20cbffc4d546541fe8b23'/>
<id>urn:sha1:9fc397fc0878c9540af20cbffc4d546541fe8b23</id>
<content type='text'>
If create_singlethread_workqueue() failes, rdac_init should fail too.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Acked-by: "Moger, Babu" &lt;Babu.Moger@netapp.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh: code cleanup and remove the references to scsi_dev_info</title>
<updated>2011-12-15T06:55:00Z</updated>
<author>
<name>Moger, Babu</name>
<email>Babu.Moger@netapp.com</email>
</author>
<published>2011-12-01T20:03:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2b132577a05ec2970581c99da70825430d5919df'/>
<id>urn:sha1:2b132577a05ec2970581c99da70825430d5919df</id>
<content type='text'>
All the handlers have now implemented the match function so We don't need to
use scsi_dev_info any more for matching purposes.

Signed-off-by: Babu Moger &lt;babu.moger@netapp.com&gt;
Acked-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_rdac: Adding the match function for rdac device handler</title>
<updated>2011-12-15T06:55:00Z</updated>
<author>
<name>Moger, Babu</name>
<email>Babu.Moger@netapp.com</email>
</author>
<published>2011-12-01T20:01:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bee89eae8de143b1d9f82ab7ab6d9daef8e44760'/>
<id>urn:sha1:bee89eae8de143b1d9f82ab7ab6d9daef8e44760</id>
<content type='text'>
This patch introduces the match function for rdac device handler. Without
this, sometimes handler attach fails during the device_add. Included check for
TPGS bit before proceeding further. The match function was introduced by
commit 6c3633d08acf514e2e89aa95d2346ce9d64d719a

Signed-off-by: Babu Moger &lt;babu.moger@netapp.com&gt;
Acked-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_hp_sw: Adding the match function for hp_sw device handler</title>
<updated>2011-12-15T06:55:00Z</updated>
<author>
<name>Moger, Babu</name>
<email>Babu.Moger@netapp.com</email>
</author>
<published>2011-12-01T20:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a315969e8d699682adf449813de84b7f2358f64d'/>
<id>urn:sha1:a315969e8d699682adf449813de84b7f2358f64d</id>
<content type='text'>
This patch introduces the match function for hp_sw device handler.  Included
the check for TPGS bit before proceeding further per Hannes comment.  The
match function was introduced by commit
6c3633d08acf514e2e89aa95d2346ce9d64d719a

Signed-off-by: Babu Moger &lt;babu.moger@netapp.com&gt;
Acked-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_emc: Add a match function for emc device handler</title>
<updated>2011-12-15T06:55:00Z</updated>
<author>
<name>Moger, Babu</name>
<email>Babu.Moger@netapp.com</email>
</author>
<published>2011-12-01T20:01:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4f10143f6e8cd62460920211e1b24b0915d0ab00'/>
<id>urn:sha1:4f10143f6e8cd62460920211e1b24b0915d0ab00</id>
<content type='text'>
This patch introduces the match function for emc device handler.  Included
check for TPGS bit before proceeding further.  The match function was
introduced by commit 6c3633d08acf514e2e89aa95d2346ce9d64d719a

Signed-off-by: Babu Moger &lt;babu.moger@netapp.com&gt;
Acked-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux</title>
<updated>2011-11-07T03:44:47Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-11-07T03:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=32aaeffbd4a7457bf2f7448b33b5946ff2a960eb'/>
<id>urn:sha1:32aaeffbd4a7457bf2f7448b33b5946ff2a960eb</id>
<content type='text'>
* 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: (230 commits)
  Revert "tracing: Include module.h in define_trace.h"
  irq: don't put module.h into irq.h for tracking irqgen modules.
  bluetooth: macroize two small inlines to avoid module.h
  ip_vs.h: fix implicit use of module_get/module_put from module.h
  nf_conntrack.h: fix up fallout from implicit moduleparam.h presence
  include: replace linux/module.h with "struct module" wherever possible
  include: convert various register fcns to macros to avoid include chaining
  crypto.h: remove unused crypto_tfm_alg_modname() inline
  uwb.h: fix implicit use of asm/page.h for PAGE_SIZE
  pm_runtime.h: explicitly requires notifier.h
  linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h
  miscdevice.h: fix up implicit use of lists and types
  stop_machine.h: fix implicit use of smp.h for smp_processor_id
  of: fix implicit use of errno.h in include/linux/of.h
  of_platform.h: delete needless include &lt;linux/module.h&gt;
  acpi: remove module.h include from platform/aclinux.h
  miscdevice.h: delete unnecessary inclusion of module.h
  device_cgroup.h: delete needless include &lt;linux/module.h&gt;
  net: sch_generic remove redundant use of &lt;linux/module.h&gt;
  net: inet_timewait_sock doesnt need &lt;linux/module.h&gt;
  ...

Fix up trivial conflicts (other header files, and  removal of the ab3550 mfd driver) in
 - drivers/media/dvb/frontends/dibx000_common.c
 - drivers/media/video/{mt9m111.c,ov6650.c}
 - drivers/mfd/ab3550-core.c
 - include/linux/dmaengine.h
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_alua: Fix the time inteval for alua rtpg commands</title>
<updated>2011-11-03T07:18:10Z</updated>
<author>
<name>Moger, Babu</name>
<email>Babu.Moger@netapp.com</email>
</author>
<published>2011-10-27T18:36:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ab72002bc53eb8cf06615503878ee71494921fcc'/>
<id>urn:sha1:ab72002bc53eb8cf06615503878ee71494921fcc</id>
<content type='text'>
This patch corrects the retry interval for alua rtpg command. Purpose was to retry the commands in seconds.
But that was not happening. Reason is msleep takes argument in milliseconds.

Also added minor text after successful attach.

Signed-off-by: Babu Moger &lt;babu.moger@netapp.com&gt;
Acked-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
</feed>
