From be7e2097c97fb7458bd393faac14f18c5ca60cf6 Mon Sep 17 00:00:00 2001
From: Bart Van Assche
Date: Wed, 21 Mar 2018 16:58:36 +0000
Subject: [PATCH 1/5] scst_vdisk: Fix spelling in an error message
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7390 d57e44dd-8a1f-0410-8b47-8ef2f437770f
---
scst/src/dev_handlers/scst_vdisk.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c
index b7b8b4b17..1bbb20079 100644
--- a/scst/src/dev_handlers/scst_vdisk.c
+++ b/scst/src/dev_handlers/scst_vdisk.c
@@ -963,7 +963,8 @@ static struct file *vdev_open_fd(const struct scst_vdisk_dev *virt_dev,
sBUG_ON(!name);
if (!virt_dev->dev_active) {
- TRACE_MGMT_DBG("Skip openning for not active dev %s", virt_dev->dev->virt_name);
+ TRACE_MGMT_DBG("Skip opening for not active dev %s",
+ virt_dev->dev->virt_name);
fd = ERR_PTR(-EMEDIUMTYPE);
goto out;
}
From dae3ec0e83e87207b5d56c35f9b0f15f97d0c393 Mon Sep 17 00:00:00 2001
From: Vladislav Bolkhovitin
Date: Sat, 31 Mar 2018 03:49:15 +0000
Subject: [PATCH 2/5] Updates to support new QLogic git driver
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7391 d57e44dd-8a1f-0410-8b47-8ef2f437770f
---
Makefile | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index 667a6bbfb..cbc54cae5 100644
--- a/Makefile
+++ b/Makefile
@@ -40,8 +40,8 @@ endif
SCST_DIR=scst
DOC_DIR=doc
SCSTADM_DIR=scstadmin
-QLA_INI_DIR=qla2x00t_git
-QLA_DIR=qla2x00t_git/qla2x00-target
+QLA_DIR=qla2xxx-unified-target
+QLA_GIT_DIR=qla2x00t_git/scst-qla2xxx-unified
QLA_OLD_INI_DIR=qla2x00t
QLA_OLD_DIR=qla2x00t/qla2x00-target
LSI_DIR=mpt
@@ -185,7 +185,6 @@ uninstall:
clean:
cd $(SCST_DIR) && $(MAKE) $@
@if [ -d $(DOC_DIR) ]; then cd $(DOC_DIR) && $(MAKE) $@; fi
- @if [ -d $(QLA_INI_DIR) ]; then cd $(QLA_INI_DIR) && $(MAKE) $@; fi
@if [ -d $(QLA_DIR) ]; then cd $(QLA_DIR) && $(MAKE) $@; fi
@if [ -d $(QLA_OLD_INI_DIR) ]; then cd $(QLA_OLD_INI_DIR) && $(MAKE) $@; fi
@if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi
@@ -200,7 +199,6 @@ extraclean:
-rm -f TAGS tags cscope.out
cd $(SCST_DIR) && $(MAKE) $@
@if [ -d $(DOC_DIR) ]; then cd $(DOC_DIR) && $(MAKE) $@; fi
- @if [ -d $(QLA_INI_DIR) ]; then cd $(QLA_INI_DIR) && $(MAKE) $@; fi
@if [ -d $(QLA_DIR) ]; then cd $(QLA_DIR) && $(MAKE) $@; fi
@if [ -d $(QLA_OLD_INI_DIR) ]; then cd $(QLA_OLD_INI_DIR) && $(MAKE) $@; fi
@if [ -d $(QLA_OLD_DIR) ]; then cd $(QLA_OLD_DIR) && $(MAKE) $@; fi
@@ -257,7 +255,7 @@ qla:
cd $(QLA_DIR) && $(MAKE) all
qla_pull:
- cd $(QLA_INI_DIR) && git pull
+ cd $(QLA_GIT_DIR) && git pull
qla_install:
cd $(QLA_DIR) && $(MAKE) install
@@ -266,11 +264,9 @@ qla_uninstall:
cd $(QLA_DIR) && $(MAKE) uninstall
qla_clean:
- cd $(QLA_INI_DIR) && $(MAKE) clean
cd $(QLA_DIR) && $(MAKE) clean
qla_extraclean:
- cd $(QLA_INI_DIR) && pwd && $(MAKE) extraclean
cd $(QLA_DIR) && $(MAKE) extraclean
qla_old:
From d67c8d644cd7ee7df94c0138236673e94e17fe87 Mon Sep 17 00:00:00 2001
From: Vladislav Bolkhovitin
Date: Sat, 31 Mar 2018 05:30:57 +0000
Subject: [PATCH 3/5] QLogic web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7392 d57e44dd-8a1f-0410-8b47-8ef2f437770f
---
www/target_qla2x00t.html | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/www/target_qla2x00t.html b/www/target_qla2x00t.html
index 1290eaa4b..2905a61aa 100644
--- a/www/target_qla2x00t.html
+++ b/www/target_qla2x00t.html
@@ -68,12 +68,15 @@
You can find the latest updates for this driver in the SVN trunk.
- The latest QLogic maintained version of this driver with full support of the latest QLogic chips for both FC and FCoE you can find in
- git://git.qlogic.com/scst-qla2xxx.git. That version also supports T10-PI functionality.
+
The latest QLogic maintained version of this driver with full support
+ of the latest QLogic chips for both FC and FCoE, including 32G FC, you can find in
+ git://git.qlogic.com/scst-qla2xxx.git.
It is maintained by QLogic, hence located in the QLogic's git. See SVN root README
- for instructions how to integrate it into the SCST build tree. However, not all
- improvements from the SVN trunk target driver have been integrated in this driver yet,
- so it is not as stable and functional as the SVN trunk driver.
+ for instructions how to integrate it into the SCST build tree.
+
+ Version released in March 2018 seems to be well functional and stable.
+ However, NPIV, T10-PI as well as modifying port name is not yet supported.
+ Also, this driver does not support old adapters (same as the in-kernel qla2xxx it is based on).