Commit Graph

7075 Commits

Author SHA1 Message Date
Bart Van Assche
460002536c Merge branch 'svn-trunk' 2019-07-14 14:30:48 -07:00
Bart Van Assche
780b839247 qla2x00t-32gbit: Minimize the diffs with the upstream code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8447 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-14 21:29:38 +00:00
Bart Van Assche
8d3ef1aed2 qla2x00t-32gbit: Minimize diffs with the upstream qla2xxx driver
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8446 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-14 21:27:59 +00:00
Bart Van Assche
ae95f456e2 Merge branch 'svn-trunk' 2019-07-14 14:17:15 -07:00
Bart Van Assche
ba6c7e1455 qla2x00t-32gbit: Revert r8141
A better solution will be checked in later.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8445 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-14 21:16:55 +00:00
Bart Van Assche
53b6d6a812 qla2x00t-32gbit: Revert r8351
r8351 was wrong so revert it.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8444 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-14 21:16:05 +00:00
Bart Van Assche
028e938910 qla2x00t-32gbit: Revert r8417 and r8418
These changes were wrong so revert these.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8443 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-14 21:15:03 +00:00
Bart Van Assche
d1f2f4f3cf nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8442 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-14 15:24:37 +00:00
Bart Van Assche
c3095e3548 Merge branch 'svn-trunk' 2019-07-10 18:13:27 -07:00
Bart Van Assche
5ac4655b75 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8441 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-10 15:27:10 +00:00
Bart Van Assche
89feebe59f Merge branch 'svn-trunk' 2019-07-08 21:24:40 -07:00
Bart Van Assche
88feab9c1d nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8440 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-09 04:24:09 +00:00
Bart Van Assche
0a82df7dc8 Merge branch 'svn-trunk' 2019-07-03 16:56:13 -07:00
Bart Van Assche
646d69072f nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8439 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-03 15:01:00 +00:00
Bart Van Assche
3835a1a53c Merge branch 'svn-trunk' 2019-06-26 19:15:12 -07:00
Bart Van Assche
67bed6588b nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8438 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-27 02:14:43 +00:00
Bart Van Assche
73b309e8ae nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8437 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-25 13:50:53 +00:00
Bart Van Assche
d48e9d6565 Merge branch 'svn-trunk' 2019-06-24 20:46:06 -07:00
Bart Van Assche
b8132cfbea nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8436 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-24 15:07:01 +00:00
Bart Van Assche
053812ebfa Merge branch 'svn-trunk' 2019-06-20 19:04:20 -07:00
Bart Van Assche
a3650faf40 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8435 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-20 17:47:25 +00:00
Bart Van Assche
5a9ff48fe9 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8434 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-20 17:11:50 +00:00
Bart Van Assche
70e055ea0d scst: Fix a Linux kernel v4.10 warning about redefining FC_PORT_ROLE_NVME_INITIATOR
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8433 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-20 17:09:32 +00:00
Bart Van Assche
6751f63b43 Merge branch 'svn-trunk' 2019-06-17 20:05:11 -07:00
Bart Van Assche
810e718997 scst_vdisk: Make flushing work with the rbd driver
Some but not all block drivers support REQ_OP_FLUSH. Hence use
REQ_OP_WRITE | REQ_PREFLUSH instead. See also
https://github.com/bvanassche/scst/issues/16.

Reported-by: Tomohiro Kusumi
Fixes: d41307c162 ("scst: Port to Linux kernel v4.8") # trunk r6991.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8430 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-18 03:00:09 +00:00
Bart Van Assche
3749561e2f scst_vdisk: Invert an if-condition
This patch does not change any functionality.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8429 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-18 02:59:25 +00:00
Bart Van Assche
0b1dd369ba nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8428 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-18 01:59:24 +00:00
Bart Van Assche
c095733a54 Merge branch 'svn-trunk' 2019-06-17 18:51:13 -07:00
Bart Van Assche
48a6217fad qla2x00t-32gbit: Improve coding style conformance
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8427 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-17 23:24:29 +00:00
Bart Van Assche
44950dccdf Merge branch 'svn-trunk' 2019-06-16 16:09:09 -07:00
Bart Van Assche
86fad676e9 scst: Fix build against Linux kernel v5.2
Reported-by: Sebastian Herbszt <herbszt@gmx.de>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8426 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-16 21:07:17 +00:00
Bart Van Assche
126cc447db scst: Introduce scst_reset_scsi_target() and scst_reset_scsi_device()
This patch does not change any functionality.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8425 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-16 20:53:37 +00:00
Bart Van Assche
48eceda39b nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8424 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-15 14:11:27 +00:00
Bart Van Assche
70394081c2 Merge branch 'svn-trunk' 2019-06-13 20:08:58 -07:00
Bart Van Assche
cd5c6e2734 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8423 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-14 03:06:44 +00:00
Bart Van Assche
5cef085128 scst: Add support for the SCSI SET CAPACITY command
This is a command for tape devices. See also the ANSI T10 SSC document.

Signed-off-by: Rob Turk <robtu@rtist.nl>
[ bvanassche: added patch description ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8422 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-14 03:04:26 +00:00
Bart Van Assche
92bbc3a4ef nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8421 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-09 15:00:49 +00:00
Bart Van Assche
304934ff92 Merge branch 'svn-trunk' 2019-06-07 20:28:25 -07:00
Bart Van Assche
8cedd07cf8 qla2x00t-32gbit: Improve coding style conformance
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8420 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-08 03:27:51 +00:00
Bart Van Assche
1d55adb06e Merge branch 'svn-trunk' 2019-06-07 19:06:54 -07:00
Bart Van Assche
ceafec13e9 iscsi-scst/Makefile: Avoid that 'make' reports an error if InfiniBand support is disabled in the kernel
Reported-by: Goran Bruns <goeran.bruns@gmx.de>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8419 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-08 01:56:34 +00:00
Bart Van Assche
939acc9359 Merge branch 'svn-trunk' 2019-06-05 17:51:43 -07:00
Bart Van Assche
d0d2544f7a qla2x00t-32gbit: Simplify the event handling code, part 2
This patch reworks commit 0ed0d35395 ("qla2x00t-32gbit: Fix PRLI and
PLOGI handling" / r8351).


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8418 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-05 21:01:46 +00:00
Bart Van Assche
34c8d73fc6 qla2x00t-32gbit: Simplify the event handling code
This patch reworks commit 0ed0d35395 ("qla2x00t-32gbit: Fix PRLI and
PLOGI handling" / r8351).



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8417 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-05 20:54:47 +00:00
Bart Van Assche
7ef1a7ea89 qla2x00t*: Declare PCI bus mode speed name arrays const
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8416 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-05 20:49:33 +00:00
Bart Van Assche
49b3d59e57 qla2x00t-32gbit: Remove double assignment in qla2x00_update_fcport
Remove double assignment in qla2x00_update_fcport().

Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
[bvanassche: ported this patch to the SCST tree]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8415 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-05 20:48:52 +00:00
Bart Van Assche
832df7e200 Merge branch 'svn-trunk' 2019-06-02 20:34:25 -07:00
Bart Van Assche
c4793a793d qla2x00t-32gbit: display FC-NVMe port roles
Currently the FC-NVMe driver is leveraging the SCSI FC transport class to
access the remote ports. Which means that all FC-NVMe remote ports will be
visible to the fc transport layer, but due to missing definitions the port
roles will always be 'unknown'.  This patch adds the missing definitions to
the fc transport class to that the port roles are correctly displayed.

Signed-off-by: Hannes Reinecke <hare@suse.de>
[ bvanassche: Ported this patch to SCST ]

See also upstream commit a6a6d0589ac4 ("scsi: scsi_transport_fc: nvme:
display FC-NVMe port roles") # v5.2-rc1.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8414 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-03 03:34:16 +00:00
Bart Van Assche
c57c30b22f Merge branch 'svn-trunk' 2019-06-02 19:59:09 -07:00
Bart Van Assche
acc9f21ed7 qla2x00t-32gbit: Introduce qla2x00_els_dcmd2_free()
This patch does not change any functionality.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8413 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-03 02:56:23 +00:00