<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/scsi/bfa/bfad.c, branch v3.11</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>[SCSI] bfa: Update the driver version to 3.2.21.1</title>
<updated>2013-06-27T00:38:38+00:00</updated>
<author>
<name>Vijaya Mohan Guvva</name>
<email>vmohan@brocade.com</email>
</author>
<published>2013-05-13T09:33:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=607be2cff4f4899f47ef906eba5b147abc3c5da4'/>
<id>607be2cff4f4899f47ef906eba5b147abc3c5da4</id>
<content type='text'>
Update bfa driver version to 3.2.21.1
Update bfa to use firmware image versions 3.2.1.0

Signed-off-by: Vijaya Mohan Guvva &lt;vmohan@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update bfa driver version to 3.2.21.1
Update bfa to use firmware image versions 3.2.1.0

Signed-off-by: Vijaya Mohan Guvva &lt;vmohan@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: Support for chinook-quad port card</title>
<updated>2013-06-27T00:16:09+00:00</updated>
<author>
<name>Vijaya Mohan Guvva</name>
<email>vmohan@brocade.com</email>
</author>
<published>2013-05-13T09:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f9c867b45c7c1be4c4920471250a52a053c7a8c2'/>
<id>f9c867b45c7c1be4c4920471250a52a053c7a8c2</id>
<content type='text'>
This patch enables support for chinook quad port 16G FC card (falcon)

Signed-off-by: Vijaya Mohan Guvva &lt;vmohan@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch enables support for chinook quad port 16G FC card (falcon)

Signed-off-by: Vijaya Mohan Guvva &lt;vmohan@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: fix strncpy() limiter in bfad_start_ops()</title>
<updated>2013-01-30T00:54:54+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2013-01-10T09:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=30ac379a6921b14f4c44e13875d39b8f8f478958'/>
<id>30ac379a6921b14f4c44e13875d39b8f8f478958</id>
<content type='text'>
The closing parenthesis is in the wrong place so it takes the sizeof a
pointer instead of the sizeof the buffer minus one.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Anil Gurumurthy &lt;agurumur@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The closing parenthesis is in the wrong place so it takes the sizeof a
pointer instead of the sizeof the buffer minus one.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Anil Gurumurthy &lt;agurumur@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Drivers: scsi: remove __dev* attributes.</title>
<updated>2013-01-03T23:57:01+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2012-12-21T21:08:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6f039790510fd630ff348efe8c4802dbaa041fba'/>
<id>6f039790510fd630ff348efe8c4802dbaa041fba</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Adam Radford &lt;linuxraid@lsi.com&gt;
Cc: "James E.J. Bottomley" &lt;JBottomley@parallels.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Adam Radford &lt;linuxraid@lsi.com&gt;
Cc: "James E.J. Bottomley" &lt;JBottomley@parallels.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: Firmware image naming convention update</title>
<updated>2012-10-07T10:28:06+00:00</updated>
<author>
<name>Krishna Gudipati</name>
<email>kgudipat@brocade.com</email>
</author>
<published>2012-09-22T00:27:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7d0ecef3833a34059213072ee6dae4fdbf77e089'/>
<id>7d0ecef3833a34059213072ee6dae4fdbf77e089</id>
<content type='text'>
- Modified the firmware naming convention to contain the
  firmware image version (3.1.0.0).
- The new convention is &lt;firmware-image&gt;-&lt;firmware-version&gt;.bin
- The change will enforce loading only compatible firmware with this driver
  and also avoid over-writing the old firmware image in-order to load new
  version driver as the firmware names used to be the same.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Modified the firmware naming convention to contain the
  firmware image version (3.1.0.0).
- The new convention is &lt;firmware-image&gt;-&lt;firmware-version&gt;.bin
- The change will enforce loading only compatible firmware with this driver
  and also avoid over-writing the old firmware image in-order to load new
  version driver as the firmware names used to be the same.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: Add support for max target ports discovery</title>
<updated>2012-09-24T08:10:57+00:00</updated>
<author>
<name>Krishna Gudipati</name>
<email>kgudipat@brocade.com</email>
</author>
<published>2012-08-23T02:52:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=61ba43947e61dcda4af0993135a7268e4c0465b9'/>
<id>61ba43947e61dcda4af0993135a7268e4c0465b9</id>
<content type='text'>
- Changes to avoid discovering NPIV port as remote port by the other
  NPIV ports created on same physical port when all the NPIV ports are
  part of the same zone in a fabric.
- Provided mechanism to support maximum number of target ports for a
  given initiator port (physical port + NPIV ports) irrespective of the
  way in which the initiator and target ports are zoned in the fabric.
- Introduced module_parameter max_rport_logins to restrict number of
  remote ports discovery which includes target and initiator remote ports.

Signed-off-by: Vijaya Mohan Guvva &lt;vmohan@brocade.com&gt;
Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Changes to avoid discovering NPIV port as remote port by the other
  NPIV ports created on same physical port when all the NPIV ports are
  part of the same zone in a fabric.
- Provided mechanism to support maximum number of target ports for a
  given initiator port (physical port + NPIV ports) irrespective of the
  way in which the initiator and target ports are zoned in the fabric.
- Introduced module_parameter max_rport_logins to restrict number of
  remote ports discovery which includes target and initiator remote ports.

Signed-off-by: Vijaya Mohan Guvva &lt;vmohan@brocade.com&gt;
Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: Add PowerPC support and enable PCIE AER handling.</title>
<updated>2012-09-24T08:10:56+00:00</updated>
<author>
<name>Krishna Gudipati</name>
<email>kgudipat@brocade.com</email>
</author>
<published>2012-08-23T02:52:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=881c1b3c486c7f181e0ca8c8df30f5f860c0d659'/>
<id>881c1b3c486c7f181e0ca8c8df30f5f860c0d659</id>
<content type='text'>
- Added few missing endian swap changes to support BFA on PowerPC.
- Added PCIE AER support to BFA:
  a) Implemented the PCI error handler entry points.
  b) Made changes to FCS state machine to handle STOP event from the
	 PCI error detected entry point.
  c) Made changes to the IO Controller state machine to handle SUSPEND
     event from the PCI error detected entry point.
  d) Made changes to restart the BFA operations on a slot_reset completion.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Added few missing endian swap changes to support BFA on PowerPC.
- Added PCIE AER support to BFA:
  a) Implemented the PCI error handler entry points.
  b) Made changes to FCS state machine to handle STOP event from the
	 PCI error detected entry point.
  c) Made changes to the IO Controller state machine to handle SUSPEND
     event from the PCI error detected entry point.
  d) Made changes to restart the BFA operations on a slot_reset completion.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: squelch lockdep complaint with a spin_lock_init</title>
<updated>2012-07-20T07:59:03+00:00</updated>
<author>
<name>Kyle McMartin</name>
<email>kmcmarti@redhat.com</email>
</author>
<published>2012-07-11T16:42:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0b1017aab197271a78169fde3d7e487bb721997c'/>
<id>0b1017aab197271a78169fde3d7e487bb721997c</id>
<content type='text'>
Spotted this while looking at another issue...

INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
Pid: 298, comm: udevd Not tainted 3.3.0 #1
Call Trace:
  [&lt;ffffffff810cee63&gt;] __lock_acquire+0x1363/0x1bb0
  [&lt;ffffffff816593d2&gt;] ? __slab_alloc+0x4a0/0x4fd
  [&lt;ffffffff81020063&gt;] ? native_sched_clock+0x13/0x80
  [&lt;ffffffff810200d9&gt;] ? sched_clock+0x9/0x10
  [&lt;ffffffff810cfd81&gt;] lock_acquire+0xa1/0x1e0
  [&lt;ffffffffa0321b83&gt;] ? bfa_fcs_lport_aen_post+0x43/0x160 [bfa]
  [&lt;ffffffff816630e5&gt;] _raw_spin_lock_irqsave+0x65/0xb0
  [&lt;ffffffffa0321b83&gt;] ? bfa_fcs_lport_aen_post+0x43/0x160 [bfa]
  [&lt;ffffffffa0321b83&gt;] bfa_fcs_lport_aen_post+0x43/0x160 [bfa]
  [&lt;ffffffffa032fa57&gt;] bfa_fcs_lport_init+0x97/0x120 [bfa]
  [&lt;ffffffffa031d4ff&gt;] bfa_fcs_fabric_sm_uninit+0x1cf/0x250 [bfa]
  [&lt;ffffffffa031c1da&gt;] bfa_fcs_fabric_modinit+0x2a/0xb0 [bfa]
  [&lt;ffffffffa031bef2&gt;] ? bfa_fcs_fabric_attach+0xf2/0x170 [bfa]
  [&lt;ffffffffa031e75a&gt;] bfa_fcs_init+0x2a/0x40 [bfa]
  [&lt;ffffffffa02facf7&gt;] bfad_drv_init+0x107/0x1f0 [bfa]
  [&lt;ffffffffa02fb057&gt;] bfad_pci_probe+0x277/0x450 [bfa]
  [&lt;ffffffff81354d4c&gt;] local_pci_probe+0x5c/0xd0
  [&lt;ffffffff81354ed1&gt;] pci_device_probe+0x111/0x120
  [&lt;ffffffff8141c0e6&gt;] driver_probe_device+0x96/0x2f0
  [&lt;ffffffff8141c3eb&gt;] __driver_attach+0xab/0xb0
  [&lt;ffffffff8141c340&gt;] ? driver_probe_device+0x2f0/0x2f0
  [&lt;ffffffff8141a2e5&gt;] bus_for_each_dev+0x55/0x90
  [&lt;ffffffffa037b000&gt;] ? 0xffffffffa037afff
  [&lt;ffffffff8141bbce&gt;] driver_attach+0x1e/0x20
  [&lt;ffffffff8141b8d8&gt;] bus_add_driver+0x1b8/0x2b0
  [&lt;ffffffffa037b000&gt;] ? 0xffffffffa037afff
  [&lt;ffffffff8141cbc7&gt;] driver_register+0x77/0x160
  [&lt;ffffffffa037b000&gt;] ? 0xffffffffa037afff
  [&lt;ffffffff81353b23&gt;] __pci_register_driver+0x73/0xf0
  [&lt;ffffffffa037b000&gt;] ? 0xffffffffa037afff
  [&lt;ffffffffa037b083&gt;] bfad_init+0x83/0x1000 [bfa]
  [&lt;ffffffff8100212a&gt;] do_one_initcall+0x12a/0x180
  [&lt;ffffffff810df0d0&gt;] sys_init_module+0xc0/0x220
  [&lt;ffffffff8166bbe9&gt;] system_call_fastpath+0x16/0x1b

Signed-off-by: Kyle McMartin &lt;kmcmarti@redhat.com&gt;
Acked-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Spotted this while looking at another issue...

INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
Pid: 298, comm: udevd Not tainted 3.3.0 #1
Call Trace:
  [&lt;ffffffff810cee63&gt;] __lock_acquire+0x1363/0x1bb0
  [&lt;ffffffff816593d2&gt;] ? __slab_alloc+0x4a0/0x4fd
  [&lt;ffffffff81020063&gt;] ? native_sched_clock+0x13/0x80
  [&lt;ffffffff810200d9&gt;] ? sched_clock+0x9/0x10
  [&lt;ffffffff810cfd81&gt;] lock_acquire+0xa1/0x1e0
  [&lt;ffffffffa0321b83&gt;] ? bfa_fcs_lport_aen_post+0x43/0x160 [bfa]
  [&lt;ffffffff816630e5&gt;] _raw_spin_lock_irqsave+0x65/0xb0
  [&lt;ffffffffa0321b83&gt;] ? bfa_fcs_lport_aen_post+0x43/0x160 [bfa]
  [&lt;ffffffffa0321b83&gt;] bfa_fcs_lport_aen_post+0x43/0x160 [bfa]
  [&lt;ffffffffa032fa57&gt;] bfa_fcs_lport_init+0x97/0x120 [bfa]
  [&lt;ffffffffa031d4ff&gt;] bfa_fcs_fabric_sm_uninit+0x1cf/0x250 [bfa]
  [&lt;ffffffffa031c1da&gt;] bfa_fcs_fabric_modinit+0x2a/0xb0 [bfa]
  [&lt;ffffffffa031bef2&gt;] ? bfa_fcs_fabric_attach+0xf2/0x170 [bfa]
  [&lt;ffffffffa031e75a&gt;] bfa_fcs_init+0x2a/0x40 [bfa]
  [&lt;ffffffffa02facf7&gt;] bfad_drv_init+0x107/0x1f0 [bfa]
  [&lt;ffffffffa02fb057&gt;] bfad_pci_probe+0x277/0x450 [bfa]
  [&lt;ffffffff81354d4c&gt;] local_pci_probe+0x5c/0xd0
  [&lt;ffffffff81354ed1&gt;] pci_device_probe+0x111/0x120
  [&lt;ffffffff8141c0e6&gt;] driver_probe_device+0x96/0x2f0
  [&lt;ffffffff8141c3eb&gt;] __driver_attach+0xab/0xb0
  [&lt;ffffffff8141c340&gt;] ? driver_probe_device+0x2f0/0x2f0
  [&lt;ffffffff8141a2e5&gt;] bus_for_each_dev+0x55/0x90
  [&lt;ffffffffa037b000&gt;] ? 0xffffffffa037afff
  [&lt;ffffffff8141bbce&gt;] driver_attach+0x1e/0x20
  [&lt;ffffffff8141b8d8&gt;] bus_add_driver+0x1b8/0x2b0
  [&lt;ffffffffa037b000&gt;] ? 0xffffffffa037afff
  [&lt;ffffffff8141cbc7&gt;] driver_register+0x77/0x160
  [&lt;ffffffffa037b000&gt;] ? 0xffffffffa037afff
  [&lt;ffffffff81353b23&gt;] __pci_register_driver+0x73/0xf0
  [&lt;ffffffffa037b000&gt;] ? 0xffffffffa037afff
  [&lt;ffffffffa037b083&gt;] bfad_init+0x83/0x1000 [bfa]
  [&lt;ffffffff8100212a&gt;] do_one_initcall+0x12a/0x180
  [&lt;ffffffff810df0d0&gt;] sys_init_module+0xc0/0x220
  [&lt;ffffffff8166bbe9&gt;] system_call_fastpath+0x16/0x1b

Signed-off-by: Kyle McMartin &lt;kmcmarti@redhat.com&gt;
Acked-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: Fix to defer vport delete handler invocation till firmware logo response.</title>
<updated>2012-04-25T08:58:31+00:00</updated>
<author>
<name>Krishna Gudipati</name>
<email>kgudipat@brocade.com</email>
</author>
<published>2012-04-10T01:40:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=17c201b3281cfc2c7d7ecfabb33313b747e414cb'/>
<id>17c201b3281cfc2c7d7ecfabb33313b747e414cb</id>
<content type='text'>
Made changes to avoid queuing the vport delete work to IM driver
work queue in the bfa_fcb_lport_delete() - since at this stage we
are not completely done with using the vport structure as we are
still waiting for the LOGO response from the fw in online state or
just doing some cleanup. Since queuing up the vport delete work at
this stage will result in the FC transport layer to clean up the vport
before we get the response from firmware.
Made changes to queue the port delete work to the IM driver work queue -
from the bfa_fcs_vport_free() function since at this state we are done
with using the vport data structure and the FCS state machine is completely
cleaned up.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Made changes to avoid queuing the vport delete work to IM driver
work queue in the bfa_fcb_lport_delete() - since at this stage we
are not completely done with using the vport structure as we are
still waiting for the LOGO response from the fw in online state or
just doing some cleanup. Since queuing up the vport delete work at
this stage will result in the FC transport layer to clean up the vport
before we get the response from firmware.
Made changes to queue the port delete work to the IM driver work queue -
from the bfa_fcs_vport_free() function since at this state we are done
with using the vport data structure and the FCS state machine is completely
cleaned up.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: Implement LUN Masking feature using the SCSI Slave Callouts.</title>
<updated>2012-01-10T23:01:24+00:00</updated>
<author>
<name>Krishna Gudipati</name>
<email>kgudipat@brocade.com</email>
</author>
<published>2011-12-21T02:58:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5b7db7af522d9f281ff8bf540d2b5cbea2206b27'/>
<id>5b7db7af522d9f281ff8bf540d2b5cbea2206b27</id>
<content type='text'>
This patch re-implements LUN Masking feature using SCSI Slave Callouts.  With
the new design in the slave_alloc entry point; for each new LUN discovered we
check with our internal LUN Masking config whether to expose or to mask this
particular LUN. We return -ENXIO (No such device or address) from slave_alloc
for the LUNs we don't want to be exposed.  We also notify the SCSI mid-layer
to do a sequential LUN scan rather than REPORT_LUNS based scan if LUN masking
is enabled on our HBA port, since a -ENXIO from any LUN in REPORT_LUNS based
scan translates to a scan abort.  This patch also handles the dynamic lun
masking config change from enable to disable or vice-versa by resetting
sdev_bflags of LUN 0 appropriately.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch re-implements LUN Masking feature using SCSI Slave Callouts.  With
the new design in the slave_alloc entry point; for each new LUN discovered we
check with our internal LUN Masking config whether to expose or to mask this
particular LUN. We return -ENXIO (No such device or address) from slave_alloc
for the LUNs we don't want to be exposed.  We also notify the SCSI mid-layer
to do a sequential LUN scan rather than REPORT_LUNS based scan if LUN masking
is enabled on our HBA port, since a -ENXIO from any LUN in REPORT_LUNS based
scan translates to a scan abort.  This patch also handles the dynamic lun
masking config change from enable to disable or vice-versa by resetting
sdev_bflags of LUN 0 appropriately.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
