On 11/22/13 4:28 AM, vikas.chaudh...@qlogic.com wrote:
From: Vikas Chaudhary
James,
Please apply the following patches to the scsi tree at your earliest
convenience.
These patches are on top of other qla4xxx patch posted on list here:
http://marc.info/?l=linux-scsi&m=138210321629250&w=2
Adh
On Mon, 2013-12-16 at 18:30 -0500, Phillip Susi wrote:
> Instead of forcing a disk to start up with the START STOP UNIT
> command when the system resumes, let it stay asleep if runtime
> pm is enabled, and it will start the drive when it is accessed.
> Query the drive to see if it starts up on its
From: Asias He
vqs are freed in virtscsi_freeze but the hotcpu_notifier is not
unregistered. We will have a use-after-free usage when the notifier
callback is called after virtscsi_freeze.
Fixes: 285e71ea6f3583a85e27cb2b9a7d8c35d4c0d558
("virtio-scsi: reset virtqueue affinity when doing cpu hotp
On 12/17/2013 11:09 AM, Rusty Russell wrote:
> Jason Wang writes:
>> > On 10/28/2013 04:01 PM, Asias He wrote:
>>> >> vqs are freed in virtscsi_freeze but the hotcpu_notifier is not
>>> >> unregistered. We will have a use-after-free usage when the notifier
>>> >> callback is called after virtscsi_
From: Atul Deshmukh
Signed-off-by: Atul Deshmukh
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_nx2.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_nx2.c b/drivers/scsi/qla2xxx/qla_nx2.c
index eda7787..0350a59 100644
--- a/driver
From: Armen Baloyan
Signed-off-by: Armen Baloyan
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_iocb.c | 11 +--
drivers/scsi/qla2xxx/qla_mr.c | 12
drivers/scsi/qla2xxx/qla_mr.h | 24
3 files changed, 1 insertions(+), 46 dele
Signed-off-by: Giridhar Malavali
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_mr.c | 15 ---
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c
index 03e2050..290322f 100644
--- a/drivers/scsi/q
Signed-off-by: Saurav Kashyap
Signed-off-by: Giridhar Malavali
---
drivers/scsi/qla2xxx/qla_version.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_version.h
b/drivers/scsi/qla2xxx/qla_version.h
index 31d1953..e36b947 100644
--- a/drivers/s
From: Chad Dupuis
Signed-off-by: Chad Dupuis
Signed-off-by: Saurav Kashyap
---
drivers/scsi/scsi_transport_fc.c |1 +
include/scsi/scsi_transport_fc.h |1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.
Signed-off-by: Giridhar Malavali
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_mr.c | 25 +
drivers/scsi/qla2xxx/qla_mr.h |4
2 files changed, 9 insertions(+), 20 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_m
Signed-off-by: Giridhar Malavali
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_def.h | 24
drivers/scsi/qla2xxx/qla_mr.c | 14 --
drivers/scsi/qla2xxx/qla_os.c |1 -
3 files changed, 0 insertions(+), 39 deletions(-)
diff --git a/driver
Signed-off-by: Giridhar Malavali
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_os.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 3f69e7c..24af8e0 100644
--- a/drivers/scsi/qla2xxx/qla_os
Hi James,
Please apply the following patches to the scsi tree, misc branch at your
earliest convenience.
Thanks,
~Saurav
Armen Baloyan (4):
qla2xxx: Add handling for boot indication progress AENs for ISPFX00.
qla2xxx: Replace constant value for IOCTL IOCB abort execution status
with a m
From: Armen Baloyan
Signed-off-by: Armen Baloyan
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_def.h |2 +-
drivers/scsi/qla2xxx/qla_mr.c |3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
Signed-off-by: Saurav Kashyap
Signed-off-by: Giridhar Malavali
---
drivers/scsi/qla2xxx/qla_mr.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c
index 9839da8..ed44ec6 100644
--- a/drivers/scsi/qla2
From: Chad Dupuis
Tell the mid-layer that number of commands we can queue is the available
resources we have minus a small amount for internal commands.
Signed-off-by: Chad Dupuis
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_os.c | 20 +++-
1 files changed, 11
From: Chad Dupuis
Allow for the capture of a firmware dump but have a sysfs node
(allow_cna_fw_dump) to allow the feature to be enabled/disabled dynamically.
The default is off.
Signed-off-by: Chad Dupuis
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_attr.c | 35 ++
From: Joe Carnuccio
Signed-off-by: Joe Carnuccio
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_init.c |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index e7e5f4f..9b271cc 100644
--- a/
From: Chad Dupuis
This fixes requesting of the MSI-X vectors for the base response queue.
The iteration in the for loop in qla24xx_enable_msix() was incorrect.
We should only iterate of the first two MSI-X vectors and not the total
number of MSI-X vectors that have given to the driver for this de
Signed-off-by: Giridhar Malavali
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_mr.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c
index 4542247..9839da8 100644
--- a/drivers/scsi/qla2xxx/qla_mr
From: Atul Deshmukh
Signed-off-by: Atul Deshmukh
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_nx2.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_nx2.c b/drivers/scsi/qla2xxx/qla_nx2.c
index b45f4d7..eda7787 100644
--- a/driv
From: Chad Dupuis
Signed-off-by: Chad Dupuis
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_attr.c | 61 ++
drivers/scsi/qla2xxx/qla_bsg.c | 12 ++-
drivers/scsi/qla2xxx/qla_def.h |1 +
drivers/scsi/qla2xxx/qla_os.c |1 +
4 fi
From: Armen Baloyan
Signed-off-by: Armen Baloyan
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_mr.c | 10 +-
drivers/scsi/qla2xxx/qla_mr.h | 26 +-
2 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/
From: Armen Baloyan
Signed-off-by: Armen Baloyan
Signed-off-by: Saurav Kashyap
---
drivers/scsi/qla2xxx/qla_mr.c |3 ++-
drivers/scsi/qla2xxx/qla_mr.h |3 +++
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c
in
Hi Bart,
Thanks for the feedback, I will be submitting the updated patches soon.
Thanks,
~Saurav
>On 12/13/13 21:03, Saurav Kashyap wrote:
>> [ ... ]
>
>Shouldn't the subject of this patch read "Simplify" instead of "Simplyfy"
>?
>
>Bart.
>
<>
Jason Wang writes:
> On 10/28/2013 04:01 PM, Asias He wrote:
>> vqs are freed in virtscsi_freeze but the hotcpu_notifier is not
>> unregistered. We will have a use-after-free usage when the notifier
>> callback is called after virtscsi_freeze.
>>
>> Signed-off-by: Asias He
Please include a Fixes
On Mon, 2013-12-16 at 18:03 -0800, Andy Grover wrote:
> On 12/16/2013 05:59 PM, Nicholas A. Bellinger wrote:
>
> > I do appreciate the effort, but the extra pointer chasing here makes
> > rbtrees prohibitively expensive for fast past operations.
>
> Hmm, were they actually implemented and tried a
On 12/16/2013 05:59 PM, Nicholas A. Bellinger wrote:
I do appreciate the effort, but the extra pointer chasing here makes
rbtrees prohibitively expensive for fast past operations.
Hmm, were they actually implemented and tried at some point?
--
To unsubscribe from this list: send the line "uns
On Mon, 2013-12-16 at 17:49 -0800, Andy Grover wrote:
> On 12/16/2013 02:03 PM, Nicholas A. Bellinger wrote:
> > On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
> >> Hi Nicholas,
> >>
> >> This patchset uses krefs to refcount structures shared across threads.
> >> LIO is full of these because
On Mon, 2013-12-16 at 17:00 -0800, Andy Grover wrote:
> On 12/16/2013 01:40 PM, Nicholas A. Bellinger wrote:
> > On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> >> Instead of an array, use a rbtree. Less memory use on average, and
> >> can allow >255 entries. We go from O(1) to O(log n) on
On 12/16/2013 02:03 PM, Nicholas A. Bellinger wrote:
On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
Hi Nicholas,
This patchset uses krefs to refcount structures shared across threads.
LIO is full of these because configfs-based configuration actions can
be removing an object, even while
On 12/16/2013 01:40 PM, Nicholas A. Bellinger wrote:
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
Instead of an array, use a rbtree. Less memory use on average, and
can allow >255 entries. We go from O(1) to O(log n) on lookups. If this
shows up on profiling (it won't) then transition t
When a disk is in SLEEP mode it can not respond to any
commands. Instead of waking up the sleeping disk, fake the
commands. The commands include:
CHECK POWER
FLUSH CACHE
SLEEP
STANDBY IMMEDIATE
IDENTIFY
If we konw the disk is sleeping, we don't need to wake it up
to to find out if it is in stan
Instead of forcing a disk to start up with the START STOP UNIT
command when the system resumes, let it stay asleep if runtime
pm is enabled, and it will start the drive when it is accessed.
Query the drive to see if it starts up on its own ( like most
ATA disks do ) and update the runtime pm status
Disks with Power Up In Standby enabled that required the
SET FEATURES command to start up were being issued the
command during resume. Suppress this until the disk
is actually accessed.
---
drivers/ata/libata-core.c | 12 ++--
drivers/ata/libata-eh.c | 10 --
drivers/ata/libata.
The ATA SLEEP mode saves some more power than SUSPEND, and
has basically the same recovery time, so use it instead.
---
drivers/ata/libata-scsi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index db6dfcf..f92eb21 100
Don't block the resume path waiting for the disk to
spin up.
---
drivers/ata/libata-core.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 8f856bb..4a28caf 100644
--- a/drivers/ata/libata-core.c
+++ b/driver
SAT-3 says REQUEST SENSE should issue CHECK POWER and return
a sense status indicating the drive's power status.
---
drivers/ata/libata-scsi.c | 40 ++--
1 file changed, 34 insertions(+), 6 deletions(-)
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libat
This is the set I currently have. I fixed libata to implement the
REQUEST SENSE scsi command, and set up sd to use blk_pre_runtime_suspend
to force the queue to the RPM_SUSPENDING state while issuing the
REQUEST SENSE command to make sure other requests are blocked, then
if REQUEST SENSE indicates
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> Indicate support for hierarchical LUN addressing.
>
> Set address method field in each LUN reported by REPORT LUNS to 1, in
> accordance with SCSI SAM specs.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_spc.c |8 +
On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
> Hi Nicholas,
>
> This patchset uses krefs to refcount structures shared across threads.
> LIO is full of these because configfs-based configuration actions can
> be removing an object, even while that object is being used by a SCSI
> command.
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> core_tpg_del_initiator_node_acl is now safe to call with spinlocks, since
> it no longer potentially sleeps.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_tpg.c | 10 --
> drivers/target/target_core_trans
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> Here are some instances where we're looping, but then dropping the
> spinlock around the loop in the loop, because we need to be able to
> sleep in the calls. Since everything is refcounted now, this should no
> longer be needed and we can jus
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> 'force' parameter is not used.
>
> tpg parameter is not needed, since we have acl->se_tpg.
>
> Signed-off-by: Andy Grover
> ---
> Documentation/target/tcm_mod_builder.py |2 +-
> drivers/infiniband/ulp/srpt/ib_srpt.c|2
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> In fabrics' drop_nodeacl function, do not kfree the nacl. We are
> now calling fabrics' tpg_release_fabric_acl later when its refcount
> goes to zero, which will kfree it.
>
> Signed-off-by: Andy Grover
> ---
> Documentation/target/tcm_mod_
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> Configfs is still using the memory until release() is called, so it's not
> safe to free it in drop_link().
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_fabric_configfs.c | 10 +-
> 1 files changed, 9 insertio
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> Don't call fabric_drop_tpg from configfs release(), just lower the
> refcount, and call fabric_drop_tpg when refcount goes to zero.
>
> We don't need cpu_relax because core_tpg_deregister will only be called
> after we know there is no PR use
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> lun->lun_tpg should always be set.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_device.c | 17 +++--
> drivers/target/target_core_internal.h |6 ++
> drivers/target/target_core_tpg.c |4
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> Although the port also has a tpg pointer, if there's no port to link
> (lun->lun_sep is NULL) then we can't get to it. So we need one in se_lun.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_tpg.c |2 ++
> include/t
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> We want to be freeing the port here, not freeing the lun.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_fabric_configfs.c |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
Skipping this one as well.
--na
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> Not needed.
>
Big NAK on this one. It most certainly is still required in order to
prevent any random pointer from being passed into a configfs symlink
sink for Port/LUN and MappedLUN creation.
--nab
> Signed-off-by: Andy Grover
> ---
>
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> As with previous commit, this results in less average memory use, and
> allows lun count to no longer be restrained by the array size.
>
NAK for the same reasons as the previous patch. rbtree introduces many
extra memory addresses for point
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> Wasn't getting release called when I expected, so punted and went down
> to krefs. Much simpler.
>
This is not an acceptable reason.
NAK.
--nab
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_device.c|5 ++---
>
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> Instead of an array, use a rbtree. Less memory use on average, and
> can allow >255 entries. We go from O(1) to O(log n) on lookups. If this
> shows up on profiling (it won't) then transition to other kernel lookup
> methods is straightforward
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> core_dev_del_lun needs no return value. Also change it to take a se_lun*
> instead of the unpacked lun.
>
> Rename core_tpg_pre_dellun to core_tpg_free_lun, and post_dellun to
> remove_lun. Swap the order they are called, and hold off on sett
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> Especially since it's actually a device.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_internal.h |2 +-
> drivers/target/target_core_tpg.c |4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
App
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> "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.
>
> S
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> lun->lun_ref is also initialized in core_tpg_post_addlun, so it doesn't
> need to be done in core_tpg_setup_virtual_lun0.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_tpg.c |4
> 1 files changed, 0 insertions(+
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> It's clearer to refer to pointers to the struct se_lun as "lun" and the
> actual number itself as "unpacked_lun".
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_device.c | 16
> 1 files changed, 8 inser
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> Free struct when kref becomes 0.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_pr.c | 99 +++-
> include/target/target_core_base.h |2 +-
> 2 files changed, 42 insertions(+), 59 de
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote:
> Keep locks closer to things they need to lock.
>
> sparse annotation no longer needed.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_device.c | 10 +++---
> 1 files changed, 3 insertions(+), 7 deletions(-)
>
I'l
On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_device.c | 12 +++---
> drivers/target/target_core_internal.h | 12 ++
> drivers/target/target_core_pr.c | 38
> drivers
On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
> Use the kernel's std kref for refcounting.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_device.c | 12 ++--
> drivers/target/target_core_internal.h | 10 ++
> drivers/target/target_core_pr.c
On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
> Use kref to handle reference counting.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_alua.c | 23 ++-
> include/target/target_core_base.h |2 +-
> 2 files changed, 15 insertions(+), 10 deletions
On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
> Use kref to handle reference counting.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_alua.c | 39 +---
> include/target/target_core_base.h |2 +-
> 2 files changed, 19 insertions(+),
On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_alua.c | 24 +++-
> include/target/target_core_base.h |2 +-
> 2 files changed, 16 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/target/target
On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
> Use kref to handle reference counting
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_alua.c | 37
> -
> include/target/target_core_base.h |2 +-
> 2 files changed, 21 insertions(
On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
> Since everything's a list_head, naming it _node makes it clearer it's
> to put the struct on a list, not a list head itself.
>
> Rename ua_nacl_list to ua_nacl_node
> Rename alua_port_list to alua_port_node
> Rename lu_gp_mem_list to lu_gp_me
On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
> Allocating an array of pointers, not the objects themselves. These two
> sites now match all the other sites.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_configfs.c|2 +-
> drivers/target/target_core_fabric
On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
> See target_stat_setup_port_default_groups, we need a 4 element array.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_fabric_configfs.c |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/driver
On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
> All further loops will still fail the conditional so just bail right
> away.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_spc.c |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/tar
On Fri, 2013-12-13 at 15:58 -0800, Andy Grover wrote:
> Initialized but not used.
>
> Signed-off-by: Andy Grover
> ---
> drivers/target/target_core_ua.c |1 -
> include/target/target_core_base.h |1 -
> 2 files changed, 0 insertions(+), 2 deletions(-)
>
Applied to for-next.
--nab
-
Hey Hannes,
On Thu, 2013-12-12 at 09:05 +0100, Hannes Reinecke wrote:
> On 12/12/2013 08:54 AM, Nicholas A. Bellinger wrote:
> > On Thu, 2013-12-12 at 08:18 +0100, Hannes Reinecke wrote:
> [ .. ]
> > Mmmm, point taken..
> >
> >> I would love to be proven wrong, as I'm not keen on the 'schedule
> -Original Message-
> From: "Kai Mäkisara (Kolumbus)" [mailto:kai.makis...@kolumbus.fi]
> Sent: Monday, December 16, 2013 7:49 PM
> To: Strösser, Bodo
> Cc: linux-scsi@vger.kernel.org
> Subject: Re: [PATCH 3/3] st.ko: change enlarge_buffer result
>
>
> On 2.12.2013, at 21.00, Bodo Stro
> -Original Message-
> From: "Kai Mäkisara (Kolumbus)" [mailto:kai.makis...@kolumbus.fi]
> Sent: Monday, December 16, 2013 7:45 PM
> To: Strösser, Bodo
> Cc: linux-scsi@vger.kernel.org
> Subject: Re: [PATCH 2/3] st.ko: remove unnecessary normalize_buffer
>
>
> On 2.12.2013, at 21.00, Bodo
On 2.12.2013, at 21.00, Bodo Stroesser wrote:
> From: Bodo Stroesser
> Date: Mon, 2 Dec 2013 18:52:10 +0100
> Subject: [PATCH 3/3] st.ko: change enlarge_buffer result
>
> enlarge_buffer() just returns 1 or 0 if it could or could
> not allocate the requested buffer.
>
> In case of result 0, th
On 2.12.2013, at 21.00, Bodo Stroesser wrote:
> From: Bodo Stroesser
> Date: Mon, 2 Dec 2013 18:52:10 +0100
> Subject: [PATCH 2/3] st.ko: remove unnecessary normalize_buffer
>
> This patch removes an unnecessary call to normalize_buffer()
> in enlarge_buffer()
>
> In st_open() always a buffer
On 2.12.2013, at 21.00, Bodo Stroesser wrote:
> From: Bodo Stroesser
> Date: Mon, 2 Dec 2013 18:52:10 +0100
> Subject: [PATCH 1/3] st.ko: fix enlarge_buffer
>
> This patch removes a bug in enlarge_buffer() that can make a
> read or write fail under special conditions.
>
> After changing TRY_D
On Mon, 16 Dec 2013, James Bottomley wrote:
> This patch eliminates the reap_ref and replaces it with a proper kref.
> On last put of this kref, the target is removed from visibility in
> sysfs. The final call to scsi_target_reap() for the device is done from
> __scsi_remove_device() and only if
In the highly unusual case where two threads are running concurrently through
the scanning code scanning the same target, we run into the situation where
one may allocate the target while the other is still using it. In this case,
because the reap checks for STARGET_CREATED and kills the target wi
This patch eliminates the reap_ref and replaces it with a proper kref.
On last put of this kref, the target is removed from visibility in
sysfs. The final call to scsi_target_reap() for the device is done from
__scsi_remove_device() and only if the device was made visible. This
ensures that the t
This set should fix our target problems with USB by making the target
visibility properly reference counted. Since it's a major change to the
infrastructure, we'll incubate upstream first before backporting to
stable.
James
---
James Bottomley (2):
[SCSI] fix our current target reap infrastru
On 13-12-15 09:52 AM, Stefan Richter wrote:
On Dec 02 2012 Stefan Richter wrote:
On Nov 26 Martin K. Petersen wrote:
"Stefan" == Stefan Richter writes:
Stefan> I did not try "sg_write_same" on any of the devices; but since
Stefan> the two SPC-3 devices are correctly identified as "fully
Stefa
From: Vikas Chaudhary
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_mbx.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/scsi/qla4xxx/ql4_mbx.c b/drivers/scsi/qla4xxx/ql4_mbx.c
index 782a94586..1345c0e 100644
--- a/drivers/scsi/qla4xxx
From: Nilesh Javali
Issue:
qla4xxx Unable to clear DDB indices when logout fails due to
failure of connection close mbox command.
Root cause:
If login to session fail, iscsiadm make call to destroy_session.
qla4xxx driver does not free ddb index map before free_ddb()
Fix:
Clear DDB Index map be
From: Vikas Chaudhary
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_os.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index d0a8695..410fe02 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b
From: Tej Parkash
Issue:
While booting with kdump kernel, driver receive IOCB interrupts
for which it is not ready which results in processing them
before init_firmware during driver probe
Fix:
Two steps solution
1. Make driver ready to process the interrupt before interupts
handlers is regis
From: Vikas Chaudhary
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_os.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index 410fe02..e8a8a7d 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/
From: Nilesh Javali
Signed-off-by: Nilesh Javali
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_fw.h | 24
drivers/scsi/qla4xxx/ql4_isr.c | 14 +++---
2 files changed, 15 insertions(+), 23 deletions(-)
diff --git a/drivers/scsi/qla4xxx/ql4_fw.h b
From: Vikas Chaudhary
James,
Please apply the following patches to the scsi tree at your earliest
convenience.
These patches are on top of other qla4xxx patch posted on list here:
http://marc.info/?l=linux-scsi&m=138511809612830&w=2
Nilesh Javali (5):
qla4xxx: ISP8xxx: Correct retry of a
From: Vikas Chaudhary
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_83xx.c | 20
drivers/scsi/qla4xxx/ql4_glbl.h | 1 +
drivers/scsi/qla4xxx/ql4_os.c | 5 +
3 files changed, 26 insertions(+)
diff --git a/drivers/scsi/qla4xxx/ql4_83xx.c b/drivers/scsi/
From: Vikas Chaudhary
Removing unused code as FW does not need any value in mbox-5.
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_mbx.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/qla4xxx/ql4_mbx.c b/drivers/scsi/qla4xxx/ql4_mbx.c
index cc27d7f..782a94586 1006
From: Nilesh Javali
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_bsg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/qla4xxx/ql4_bsg.c b/drivers/scsi/qla4xxx/ql4_bsg.c
index 04a0027..9f92cbf 100644
--- a/drivers/scsi/qla4xxx/ql4_bsg.c
+++ b/
From: Vikas Chaudhary
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_isr.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/qla4xxx/ql4_isr.c b/drivers/scsi/qla4xxx/ql4_isr.c
index e56c6b4..49032f6 100644
--- a/drivers/scsi/qla4xxx/ql4_isr.c
++
From: Nilesh Javali
Issue:
For ISP8xxx, adapter initialization is not retried if qla4xxx_initialize_adapter
fails.
Fix:
If qla4xxx_initialize_adapter fails, first check if failure is due to IRQs not
attached in order to skip retrial, then free the IRQs and then retry
initializing
the adapter.
From: Vikas Chaudhary
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/qla4xxx/ql4_version.h
b/drivers/scsi/qla4xxx/ql4_version.h
index 9b29466..c6ba0a6 100644
--- a/drivers/scsi/qla4xxx/ql4_v
From: Vikas Chaudhary
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_os.c | 59 +++
1 file changed, 43 insertions(+), 16 deletions(-)
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index ce20c75..d0a8695 100644
--
From: Vikas Chaudhary
Issue:
While unloading driver MBOX 0x31 fail as DDB logout (MBOX 0x56)
operation is not completed.
Fix:
Wait for DDB Logout completion before MBOX 0x31
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_os.c | 54 ---
1 fi
From: Tej Parkash
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_def.h | 3 ++-
drivers/scsi/qla4xxx/ql4_os.c | 46 +-
2 files changed, 29 insertions(+), 20 deletions(-)
diff --git a/drivers/scsi/qla4xxx/ql4_def.h b/drivers/scsi/qla4xxx/ql
From: Nilesh Javali
Signed-off-by: Nilesh Javali
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_fw.h | 6 +++---
drivers/scsi/qla4xxx/ql4_isr.c | 30 ++
2 files changed, 33 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/qla4xxx/ql4_fw.h b/dr
1 - 100 of 111 matches
Mail list logo