Merge branch 'svn-trunk'

This commit is contained in:
Bart Van Assche
2018-11-27 22:18:49 -08:00
3 changed files with 43 additions and 55 deletions

View File

@@ -24,3 +24,4 @@ SRPT 1.0.0 450
3.2.x branch start 6925, which is a copy of trunk r6921
3.2.0 7058 on the 3.2.x branch
3.3.x branch start 7225, which is a copy of trunk r7224
3.3.0 7830 on the 3.3.x branch

View File

@@ -1,55 +0,0 @@
#!/bin/awk -f
BEGIN {
if (debug != "")
print "[<node>, <per_node_cpu_idx>]: <cpu>";
"ls -1d /sys/devices/system/node/node* 2>&1 | wc -l" | getline nodes
if (nodes > 1) {
for (i = 0; i < nodes; i++) {
cpus_per_node = 0
while (("cd /sys/devices/system/cpu && ls -d cpu*/node" i " | sed 's/^cpu//;s,/.*,,'|sort -n" | getline j) > 0) {
if (debug != "")
print "[" i ", " cpus_per_node "]: " j
cpu[i, cpus_per_node++] = j
}
}
} else {
cpus_per_node = 0
while (("cd /sys/devices/system/cpu && ls -d cpu[0-9]* | sed 's/^cpu//'|sort -n" | getline j) > 0) {
if (debug != "")
print "[0, " cpus_per_node "]: " j
cpu[0, cpus_per_node++] = j
}
}
for (i = 0; i < nodes; i++)
nextcpu[i] = 0
while (("sed -n 's/.*mlx4-ib-\\([0-9]*\\)-[0-9]*@\\(.*\\)$/\\1 \\2/p' /proc/interrupts | uniq" | getline) > 0) {
port = $1
bus = substr($0, length($1) + 2)
if (debug != "")
print "HCA port = " port "; bus = " bus
irqcount = 0
while (("sed -n 's/^[[:blank:]]*\\([0-9]*\\):[0-9[:blank:]]*[^[:blank:]]*[[:blank:]]*\\(mlx4-ib-" port "-[0-9]*@" bus "\\)$/\\1 \\2/p' </proc/interrupts" | getline) > 0) {
irq[irqcount] = $1
irqname[irqcount] = substr($0, length($1) + 2)
irqcount++
}
for (i = 0; i < nodes; i++) {
ch_start = i * irqcount / nodes
ch_end = (i + 1) * irqcount / nodes
for (ch = ch_start; ch < ch_end; ch++) {
c = cpu[i, nextcpu[i]++ % cpus_per_node]
if (nodes > 1)
nodetxt = " (node " i ")"
else
nodetxt = ""
print "IRQ " irq[ch] " (" irqname[ch] "): CPU " c nodetxt
cmd="echo " c " >/proc/irq/" irq[ch] "/smp_affinity_list"
if (debug != "")
print cmd
system(cmd)
}
}
}
exit 0
}

View File

@@ -1,3 +1,45 @@
Summary of changes between versions 3.2 and 3.3
-----------------------------------------------
- Support for a new build method ("make dpkg").
- Support for the latest kernels has been added, up to and including
Linux kernel v4.19.
- A much more powerful latency measurement infrastructure has been added.
- Support for asynchronous buffered and direct I/O has been added to scst_vdisk.
- H.A. support has been improved.
- SCSI pass-through support is now compatible with Linux kernel versions 4.11
and later.
- ACA support has been added.
- The scst_user driver is now compatible with usercopy hardening.
- "make install" is now compatible with SELinux.
Summary of changes between versions 3.1 and 3.2
-----------------------------------------------
[ ... ]
Summary of changes between versions 3.0 and 3.1
-----------------------------------------------
- vdisk_nullio: the "read_zero" attribute has been added.
- scst_vdisk: LBPRZ now follows limits.discard_zeroes_data.
- scst core: support for 64-bit LUNs has been added. This requires a Linux
kernel that supports 64-bit LUNs.
- A new kernel module parameter, scst_forcibly_close_sessions, controls wheter
or not attempting to remove an access control group with one or more active
sessions succeeds or fails with -EBUSY.
- scst_vdisk: the EUI-64 and NAA IDs are now configurable.
- scst_vdisk: the device name length has been increased from 16 to 64
characters for OpenStack.
- The SCSI-passthrough code has been reworked such that SCSI pass-through
works with kernel versions >= 2.6.30 without patching the kernel.
- T10-PI support has been added to the SCST core.
- Counters have been added to keep track of unaligned I/O.
- The "forwarding" sysfs attribute has been added.
- Support for iSER has been added.
- SCST command thread creation has been made faster.
- Support for synchronizing persistent reservation information between cluster
nodes via the DLM has been added.
- Explicit ALUA support has been added.
- EXTENDED COPY support has been added.
Summary of changes between versions 2.1.0 and 3.0
-------------------------------------------------