Even if the device backend is initialized with protection info is
enabled, some requests don't have the protection info attached for
WRITE SAME command issued by block device helpers, WRITE command with
WRPROTECT=0 by SG_IO ioctl, etc.
So when TCM loopback fabric module is used, se_cmd-t_prot_sg
This patchset aims to fix several problems related to T10-PI support.
These patches can be applied on top of Sagi's [v1] Simlify dif_verify
routines and fixup fileio protection information code patchset.
Akinobu Mita (4):
target: ensure se_cmd-t_prot_sg is allocated when required
target:
sbc_dif_generate() and sbc_dif_verify() assume that each SG element
for data transfer memory doesn't straddle the block size boundary.
However, when using SG_IO ioctl, we can choose the data transfer memory
which doesn't satisfy that alignment requirement.
This change detects such cases and
Now we can generate correct PI for WRITE SAME command, so it is
unnecessary to disallow WRITE SAME when protection info is enabled.
Signed-off-by: Akinobu Mita akinobu.m...@gmail.com
Cc: Nicholas Bellinger n...@linux-iscsi.org
Cc: Sagi Grimberg sa...@mellanox.com
Cc: Martin K. Petersen
For WRITE SAME, data transfer memory only contains a single block but
protection information is required for all blocks that are written by
the command.
This makes sbc_dif_generate() work for WRITE_SAME.
Signed-off-by: Akinobu Mita akinobu.m...@gmail.com
Cc: Nicholas Bellinger
From: Mike Christie micha...@cs.wisc.edu
This works around a issue with qnap iscsi targets not handling large IOs
very well.
The target returns:
VPD INQUIRY: Block limits page (SBC)
Maximum compare and write length: 1 blocks
Optimal transfer length granularity: 1 blocks
Maximum transfer
On Sun, 19 Apr 2015 18:58:41 +0200
Christoph Hellwig h...@lst.de wrote:
This looks like a long standing bug in all three 3ware drivers to
me, that the taking the host lock around the host_busy manipulation
was hiding.
Can you test the patch below?
I'm running it right now and keeping my
This patch series for megaraid_sas driver is resent with splitting one patch in
to 5 different patches(patch #1 to patch #5) along with few extra sparse
warnings fixes (patch#10 to patch #18). These sparse warnings fixes are also
not first time submitted but resent(earlier sent by Christoph
Add noop conversions for all ones to make sparse happy.
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas_base.c |2 +-
drivers/scsi/megaraid/megaraid_sas_fp.c |7 ---
drivers/scsi/megaraid/megaraid_sas_fusion.c |9 +
3 files
This adds endianness annotations to all data structures, and a few
variables directly referencing them.
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas.h| 302 +-
drivers/scsi/megaraid/megaraid_sas_base.c |2 +-
This patch will update few prints.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_base.c | 49 ++---
1 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c
This patch will add separate function for refiring MFI commands in Fusion
adapters's OCR code.
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_fusion.c | 80 +--
1
This patch will create separate functions for sysPD IOs and non Read/Write
LDIOs.
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas.h| 10 +-
drivers/scsi/megaraid/megaraid_sas_base.c
This patch will update module parameters and driver name inside SCSI host
template to reflect Avago.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_base.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git
This patch will create separate function for setting up IRQs and enable
interrupts after adapter's initialization.
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_base.c | 201
--
Guten Tag
Dies ist DIAMOMD Schweizer LOAN COMPANY Darlehen Angebot.
DIAMOMD Schweizer LOAN COMPANY bietet flexible und kostengünstige Kredite für
jeden Zweck, Ihnen beim Erreichen Ihrer Ziele zu helfen. Wir Darlehen zu
niedrigen Zinssatz von 1,5 %. Hier sind einige wichtige Merkmale des
-Original Message-
From: Christoph Hellwig [mailto:h...@infradead.org]
Sent: Tuesday, April 14, 2015 11:27 AM
To: Martin K. Petersen
Cc: Sumit Saxena; linux-scsi@vger.kernel.org; the...@redhat.com;
h...@infradead.org; jbottom...@parallels.com; Kashyap Desai
Subject: Re: [PATCH 1/5]
megaraid_sas driver will use block layer provided tag for indexing internal MPT
frames to get any unique MPT frame tied with tag.
Each IO request submitted from SCSI mid layer will get associated MPT frame
from MPT framepool (retrieved and return back using spinlock
inside megaraid_sas driver's
This patch will move controller's queue depth calculation in adapter specific
functions.
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_base.c | 39 ++
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas_base.c | 46 +++-
1 files changed, 25 insertions(+), 21 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c
b/drivers/scsi/megaraid/megaraid_sas_base.c
index
https://bugzilla.kernel.org/show_bug.cgi?id=96921
Bug ID: 96921
Summary: NULL pointer dereference in
lpfc_bus_reset_handler+0xd4/0x240
Product: SCSI Drivers
Version: 2.5
Kernel Version: 3.11.10
Hardware: x86-64
Swap the whole 32 bits we read from the hardware instead of swapping
just the 16bits we care about in place later.
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas_base.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git
Correct reference counting of rport
Signed-off-by: Dick Kennedy dick.kenn...@emulex.com
Signed-off-by: James Smart james.sm...@emulex.com
---
drivers/scsi/lpfc/lpfc_disc.h| 4 +-
drivers/scsi/lpfc/lpfc_els.c | 12 +++-
drivers/scsi/lpfc/lpfc_hbadisc.c | 144
Update driver version for upstream patch set 10.6.0.1.
Signed-off-by: Dick Kennedy dick.kenn...@emulex.com
Signed-off-by: James Smart james.sm...@emulex.com
---
drivers/scsi/lpfc/lpfc_version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_version.h
drivers/scsi/megaraid/megaraid_sas_base.c:1701:6: sparse: symbol
'megasas_complete_outstanding_ioctls' was not declared. Should it be static?
Signed-off-by: Fengguang Wu fengguang...@intel.com
---
drivers/scsi/megaraid/megaraid_sas_base.c |2 +-
1 files changed, 1 insertions(+), 1
This patch will create separate functions for sysPD IOs and non Read/Write
LDIOs.
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas.h| 10 +-
drivers/scsi/megaraid/megaraid_sas_base.c
https://bugzilla.kernel.org/show_bug.cgi?id=96921
--- Comment #1 from James Smart james.sm...@emulex.com ---
This is a rather old kernel, thus old driver. Lots of changes since the
driver was put out in 3.11.
I recommend pulling down the source kits for RHEL7 (3.10 kernel):
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas_fusion.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c
b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index 7d34fe8..17ec153 100644
---
This is a rather old kernel, thus old driver. Lots of changes since the
driver was put out in 3.11.
I recommend pulling down the source kits for RHEL7 (3.10 kernel):
http://www.emulex.com/downloads/emulex/drivers/linux/rhel-7-centos-7/drivers/
Under FC/FCoE driver and install script - Source
The lpfc driver does not issue RFF_ID and RFT_ID in the correct sequence
Signed-off-by: Dick Kennedy dick.kenn...@emulex.com
Signed-off-by: James Smart james.sm...@emulex.com
---
drivers/scsi/lpfc/lpfc_hbadisc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Fix incorrect log message reported for empty FCF record.
Signed-off-by: Dick Kennedy dick.kenn...@emulex.com
Signed-off-by: James Smart james.sm...@emulex.com
---
drivers/scsi/lpfc/lpfc_hbadisc.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
Add support for RDP ELS command.
Signed-off-by: Dick Kennedy dick.kenn...@emulex.com
Signed-off-by: James Smart james.sm...@emulex.com
---
drivers/scsi/lpfc/lpfc.h | 1 +
drivers/scsi/lpfc/lpfc_crtn.h | 2 +
drivers/scsi/lpfc/lpfc_els.c | 415 ++
Correct reporting of vport state on fdisc command failure.
Signed-off-by: Dick Kennedy dick.kenn...@emulex.com
Signed-off-by: James Smart james.sm...@emulex.com
---
drivers/scsi/lpfc/lpfc_els.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_els.c
Correct loss of RSCNs during array takeaway/giveback testing.
Signed-off-by: Dick Kennedy dick.kenn...@emulex.com
Signed-off-by: James Smart james.sm...@emulex.com
---
drivers/scsi/lpfc/lpfc_els.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git
Fix ABORTs WQ selection in terminate_rport_io
Signed-off-by: Dick Kennedy dick.kenn...@emulex.com
Signed-off-by: James Smart james.sm...@emulex.com
---
drivers/scsi/lpfc/lpfc_sli.c | 32 +---
1 file changed, 21 insertions(+), 11 deletions(-)
diff --git
Correct loss of target discovery after cable swap.
Fix incorrect reference counting
Signed-off-by: Dick Kennedy dick.kenn...@emulex.com
Signed-off-by: James Smart james.sm...@emulex.com
---
drivers/scsi/lpfc/lpfc_hbadisc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
Fix discovery issue when changing from Pt2Pt to Fabric.
Signed-off-by: Dick Kennedy dick.kenn...@emulex.com
Signed-off-by: James Smart james.sm...@emulex.com
---
drivers/scsi/lpfc/lpfc_hbadisc.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git
This patch set updates the lpfc driver to revision 10.6.0.1
The patches were cut against scsi-misc
-- james s
James Smart (14):
The lpfc driver does not issue RFF_ID and RFT_ID in the correct
sequence
Correct loss of target discovery after cable swap.
Add support for ELS LCB.
Add support for ELS LCB.
Also has a little whitespace fixing.
Signed-off-by: Dick Kennedy dick.kenn...@emulex.com
Signed-off-by: James Smart james.sm...@emulex.com
---
drivers/scsi/lpfc/lpfc.h | 1 +
drivers/scsi/lpfc/lpfc_els.c | 239 +-
Change buffer pool empty message to miscellaneous category
Signed-off-by: Dick Kennedy dick.kenn...@emulex.com
Signed-off-by: James Smart james.sm...@emulex.com
---
drivers/scsi/lpfc/lpfc_scsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c
Fix to remove IRQF_SHARED flag for MSI/MSI-X vectors.
Signed-off-by: Dick Kennedy dick.kenn...@emulex.com
Signed-off-by: James Smart james.sm...@emulex.com
---
drivers/scsi/lpfc/lpfc_init.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git
Converting structure fields in place is always a bad idea, and in this case
by moving it into the only caller we also only have to do a single byte
swap as most fields of this structure are never used.
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas_base.c |
Please ignore only this patch of the series, this is based on a bit old
repo(sent mistakenly old patch). I am sending patch the right
patch(rebased against latest repo) with subject line- [PATCH RESEND v2
3/18] megaraid_sas : Add separate functions for building sysPD IOs and non
RW LDIOs. Rest of
https://bugzilla.kernel.org/show_bug.cgi?id=90601
--- Comment #26 from Justin Keogh kernel@v6y.net ---
Created attachment 174581
-- https://bugzilla.kernel.org/attachment.cgi?id=174581action=edit
dmesg for the commit that git bisect landed on, with IOMMU disabled
--
You are receiving this
On Fri, 2015-04-17 at 16:40 -0600, Jens Axboe wrote:
On 04/17/2015 04:20 PM, James Bottomley wrote:
On Fri, 2015-04-17 at 16:07 -0600, Jens Axboe wrote:
On 04/17/2015 03:57 PM, James Bottomley wrote:
On Fri, 2015-04-17 at 15:47 -0600, Jens Axboe wrote:
On 04/17/2015 03:46 PM, James
On Mon, 2015-04-20 at 18:04 +0530, sumit.sax...@avagotech.com wrote:
Add noop conversions for all ones to make sparse happy.
Signed-off-by: Christoph Hellwig h...@lst.de
This isn't the right way to resend someone else's patch: it needs a
From: Christoph Hellwig h...@lst.de
At the top and a
This patch will upgrade the driver version and add back the release date and
sysfs hook for the same.
Some internal applications uses sysfs parameter for release date, so they were
broken because of removal
of release date from sysfs.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
This patch will add support for Single Server High Availability(SSHA) cluster
support.
Here is the short decsription of changes done to add support for SSHA-
1) Host will send system's Unique ID based on DMI_PRODUCT_UUID to firmware.
2) Toggle the devhandle in LDIO path for Remote LDs.
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas.h |2 +-
drivers/scsi/megaraid/megaraid_sas_base.c |9 +
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas.h
The fusion HBAs don't really use the instance template like the other
variants, as it branches off at a much higher level. So instead of
trying to squeeze megasas_fire_cmd_fusion into the wrong calling
convention call it locally with argument data types that match what
is passed.
Signed-off-by:
50 matches
Mail list logo