On 10/14/2013 05:24 PM, Steffen Maier wrote:
On 10/14/2013 03:32 PM, Hannes Reinecke wrote:
On 10/14/2013 03:18 PM, Hannes Reinecke wrote:
On 10/14/2013 02:51 PM, Steffen Maier wrote:
On 10/14/2013 01:13 PM, Hannes Reinecke wrote:
On 10/13/2013 07:23 PM, Vaughan Cao wrote:
[1.] One line
Hi Nic,
here are some updates to tcm_loop I've done during ALUA testing.
I've implemented a 'transport_state' attribute to simulate
transport failure and added command abort callbacks.
Hannes Reinecke (5):
tcm_loop: Check for valid hba in tcm_loop_drop_nexus()
tcm_loop: Implement transport
No functional change.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/loopback/tcm_loop.c | 83 +++---
include/target/target_core_base.h | 1 +
2 files changed, 51 insertions(+), 33 deletions(-)
diff --git a/drivers/target/loopback/tcm_loop.c
Add attribute 'transport_status' to simulate link failure.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/loopback/tcm_loop.c | 53 +-
drivers/target/loopback/tcm_loop.h | 4 +++
2 files changed, 56 insertions(+), 1 deletion(-)
diff --git
Implement target reset by resetting the transport status.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/loopback/tcm_loop.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/target/loopback/tcm_loop.c
b/drivers/target/loopback/tcm_loop.c
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/loopback/tcm_loop.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/target/loopback/tcm_loop.c
b/drivers/target/loopback/tcm_loop.c
index 0f6d69d..57d5a95 100644
---
The supported ALUA states might be different for individual
devices, so store it in a separate field.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_alua.c | 14 --
drivers/target/target_core_alua.h | 11 +++
include/target/target_core_base.h | 1
We should only allocate ALUA metadata if we're actually going
to write them.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_alua.c | 70 +--
drivers/target/target_core_alua.h | 3 ++
include/target/target_core_base.h | 3 --
3
Hi Nic,
here are some updates to TCM ALUA handling. Apart from some
minor fixes and spellchecks the main features are:
- Make supported states configurable:
We should make the list of supported ALUA states configurable,
as some setups would possibly like to support a small subset
of ALUA
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_configfs.c | 50 +++
1 file changed, 50 insertions(+)
diff --git a/drivers/target/target_core_configfs.c
b/drivers/target/target_core_configfs.c
index d4c28a3..53e9e00 100644
---
Use a workqueue for processing ALUA state transitions; this allows
us to process implicit delay properly.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_alua.c | 174 +++---
include/target/target_core_base.h | 4 +
2 files changed,
Rename ALUA_ACCESS_STATE_OPTMIZED to
ALUA_ACCESS_STATE_OPTIMIZED.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_alua.c | 10 +-
drivers/target/target_core_alua.h | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git
As we now can modify the list of supported states we need to
validate the requested ALUA state when doing a state transition.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_alua.c | 85 ++-
1 file changed, 56 insertions(+), 29
During state transition we should be storing both the original
and the pending state.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_alua.c | 15 ++-
include/target/target_core_base.h | 6 --
2 files changed, 14 insertions(+), 7 deletions(-)
diff
Referrals need an LBA map, which needs to be kept
consistent across all target port groups. So
instead of tying the map to the target port groups
I've implemented a single attribute containing the
entire map.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_alua.c
Add infrastructure for referrals.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_alua.c | 151 ++
drivers/target/target_core_alua.h | 4 +-
drivers/target/target_core_configfs.c | 12 ++-
drivers/target/target_core_device.c
https://bugzilla.kernel.org/show_bug.cgi?id=63141
Bug ID: 63141
Summary: Linux Kernel will shows Got wrong page in kernel log
when Linux kernel tries to send SCSI ModeSense command
with Page code 0x08 (Caching Mode Page)
There is syncronization problem between sysPD IO path and AEN path. Driver
maintains instance-pd_list[] array, which will get updated(by calling function
megasas_get_pd_list[]), whenever any of below events occurs-
MR_EVT_PD_INSERTED
MR_EVT_PD_REMOVED
MR_EVT_CTRL_HOST_BUS_SCAN_REQUESTED
Casting (void *) value returned by kmalloc is useless
as mentioned in Documentation/CodingStyle, Chap 14.
Signed-off-by: Geyslan G. Bem geys...@gmail.com
---
drivers/scsi/hpsa.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index
On 10/15/2013 06:11 PM, Dan Williams wrote:
On Tue, Oct 15, 2013 at 5:15 PM, Praveen Murali pmur...@logicube.com wrote:
Dan/James,
Can you please take a look at this and let me know if I am at the right
place? Or point me in the right direction? As I understand, this deost not
look like an
Acked-by: James Smart james.sm...@emulex.com
-- james s
On 10/15/2013 8:29 PM, Felipe Pena wrote:
In the lpfc_ct_free_iocb function after freeing associated memory to the
ctiocb-context3, the ctiocb-context1 is set to NULL instead of context3.
Signed-off-by: Felipe Pena felipe...@gmail.com
On Mon, 2013-07-01 at 08:50 +0200, Hannes Reinecke wrote:
This patchs adds an 'eh_deadline' sysfs attribute to the scsi
host which limits the overall runtime of the SCSI EH.
The 'eh_deadline' value is stored in the now obsolete field
'resetting'.
When a command is failed the start time of the
On Mon, 2013-09-02 at 13:58 +0200, Hannes Reinecke wrote:
Commit 18a4d0a22ed6c54b67af7718c305cd010f09ddf8
(Handle disk devices which can not process medium access commands)
was introduced to offline any device which cannot process medium
access commands.
However, commit
On Tue, 2013-10-08 at 09:45 -0400, Douglas Gilbert wrote:
On 13-10-08 02:44 AM, vaughan wrote:
Hi Madper,
CC to Douglas to get comments.
I use the rw_semaphore o_sem to protect excl open, introduced in commit
15b06f9a02406e5460001db6d5af5c738cd3d4e7 since v3.12-rc1.
Is it forbidden to
Hi,
I've got a SATA adapter for a SD card in a Dell Poweredge R610. The BIOS
can see and boot the sdcard, (to Windows, or using syslinux/extlinux), but
when it hands over control to the Linux kernel, the kernel cannot access it.
Here's an excerpt from dmesg:
scsi 0:0:2:0: Direct-Access ATA
On Wed, 2013-10-16 at 09:12 +0200, Hannes Reinecke wrote:
Hi Nic,
here are some updates to tcm_loop I've done during ALUA testing.
I've implemented a 'transport_state' attribute to simulate
transport failure and added command abort callbacks.
Hannes Reinecke (5):
tcm_loop: Check for
On Wed, 2013-10-16 at 09:20 +0200, Hannes Reinecke wrote:
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_alua.c | 110
-
drivers/target/target_core_alua.h | 20 +++---
drivers/target/target_core_configfs.c | 26
On Wed, 2013-10-16 at 09:20 +0200, Hannes Reinecke wrote:
The supported ALUA states might be different for individual
devices, so store it in a separate field.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_alua.c | 14 --
On Wed, 2013-10-16 at 09:20 +0200, Hannes Reinecke wrote:
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_configfs.c | 50
+++
1 file changed, 50 insertions(+)
diff --git a/drivers/target/target_core_configfs.c
On Wed, 2013-10-16 at 09:20 +0200, Hannes Reinecke wrote:
As we now can modify the list of supported states we need to
validate the requested ALUA state when doing a state transition.
Signed-off-by: Hannes Reinecke h...@suse.de
---
Looks good.
--nab
drivers/target/target_core_alua.c |
On Wed, 2013-10-16 at 09:20 +0200, Hannes Reinecke wrote:
We should only allocate ALUA metadata if we're actually going
to write them.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_alua.c | 70
+--
On Wed, 2013-10-16 at 17:04 +0530, sumit.sax...@lsi.com wrote:
There is syncronization problem between sysPD IO path and AEN path. Driver
maintains instance-pd_list[] array, which will get updated(by calling
function megasas_get_pd_list[]), whenever any of below events occurs-
On Tue, 2013-10-15 at 19:40 -0700, Praveen Murali wrote:
Yes, I checked that today and was meaning to ask you about it. :)
Ideally, I need someone from Marvell to ack it ... can you prod them?
Thanks,
James
--
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of
--
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, 2013-10-16 at 09:20 +0200, Hannes Reinecke wrote:
Use a workqueue for processing ALUA state transitions; this allows
us to process implicit delay properly.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_alua.c | 174
On Wed, 2013-10-16 at 09:20 +0200, Hannes Reinecke wrote:
Hi Nic,
here are some updates to TCM ALUA handling. Apart from some
minor fixes and spellchecks the main features are:
- Make supported states configurable:
We should make the list of supported ALUA states configurable,
as some
Dear friend
I am Mr.Axel Brice a banker from one of the international bank here in my
country. Although the world is spherical and hard place to met people because
you don't know who to trust or believe, but I have developed my trust to you to
confide this confidential business proposal.
Hi Xiang, Can you please take a look at the attached patch and ack it?
Thanks,
Praveen
On 10/16/2013 02:45 PM, James Bottomley wrote:
On Tue, 2013-10-15 at 19:40 -0700, Praveen Murali wrote:
Yes, I checked that today and was meaning to ask you about it. :)
Ideally, I need someone from
On Wed, 2013-10-16 at 09:25 +0200, Hannes Reinecke wrote:
Add infrastructure for referrals.
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/target/target_core_alua.c | 151
++
drivers/target/target_core_alua.h | 4 +-
On 10/12/2013 01:08 AM, Christoph Hellwig wrote:
On Fri, Oct 11, 2013 at 11:52:53AM -0700, Andy Grover wrote:
It seemed better to me to keep the munging from queue_limits values
to what the target core needed in the block backstore code, and not
use a block-specific structure in the
On 13-10-16 09:24 AM, James Bottomley wrote:
On Tue, 2013-10-08 at 09:45 -0400, Douglas Gilbert wrote:
On 13-10-08 02:44 AM, vaughan wrote:
Hi Madper,
CC to Douglas to get comments.
I use the rw_semaphore o_sem to protect excl open, introduced in commit
On Wed, 2013-10-16 at 09:25 +0200, Hannes Reinecke wrote:
Referrals need an LBA map, which needs to be kept
consistent across all target port groups. So
instead of tying the map to the target port groups
I've implemented a single attribute containing the
entire map.
Signed-off-by: Hannes
-Original Message-
From: James Bottomley [mailto:jbottom...@parallels.com]
Sent: Thursday, October 17, 2013 3:15 AM
To: Saxena, Sumit
Cc: linux-scsi@vger.kernel.org; Desai, Kashyap; aradf...@gmail.com
Subject: Re: [PATCH][SCSI] megaraid_sas: Fix synchronization problem
between sysPD IO
On 10/16/2013 11:19 PM, Nicholas A. Bellinger wrote:
On Wed, 2013-10-16 at 09:20 +0200, Hannes Reinecke wrote:
The supported ALUA states might be different for individual
devices, so store it in a separate field.
Signed-off-by: Hannes Reinecke h...@suse.de
---
44 matches
Mail list logo