aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorDavid Disseldorp <[email protected]>2018-06-19 15:58:24 +0000
committerMartin K. Petersen <[email protected]>2018-06-20 01:36:37 +0000
commit63ce3c384db26494615e3c8972bcd419ed71f4c4 (patch)
treeda14e747825914e3118cc764f49fe1548dab69f3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentscsi: scsi_debug: Fix memory leak on module unload (diff)
downloadkernel-63ce3c384db26494615e3c8972bcd419ed71f4c4.tar.gz
kernel-63ce3c384db26494615e3c8972bcd419ed71f4c4.zip
scsi: target: Fix truncated PR-in ReadKeys response
SPC5r17 states that the contents of the ADDITIONAL LENGTH field are not altered based on the allocation length, so always calculate and pack the full key list length even if the list itself is truncated. According to Maged: Yes it fixes the "Storage Spaces Persistent Reservation" test in the Windows 2016 Server Failover Cluster validation suites when having many connections that result in more than 8 registrations. I tested your patch on 4.17 with iblock. This behaviour can be tested using the libiscsi PrinReadKeys.Truncate test. Cc: [email protected] Signed-off-by: David Disseldorp <[email protected]> Reviewed-by: Mike Christie <[email protected]> Tested-by: Maged Mokhtar <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions