diff options
author | Dmitry Bogdanov <d.bogdanov@yadro.com> | 2022-09-09 12:04:22 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-10-01 12:03:56 +0300 |
commit | 1f1009ea8ca5a0271ad69afe8a86c887d530b5c8 (patch) | |
tree | 583278cbc9f0d8a1162eb6311943564dc2e59f90 /tools/perf/scripts/python/task-analyzer.py | |
parent | 57569c37f0add1b6489e1a1563c71519daf732cf (diff) | |
download | linux-1f1009ea8ca5a0271ad69afe8a86c887d530b5c8.tar.xz |
scsi: target: core: Fix preempt and abort for allreg res
Match a key only if SARK is not zero according to SPC-4 and the comment
above the code:
If an all registrants persistent reservation is present and the SERVICE
ACTION RESERVATION KEY field is set to zero, then all registrations
shall be removed except for that of the I_T nexus that is being used
for the PERSISTENT RESERVE OUT command;
Without this patch in case of SARK==0 no registrants will be removed.
Link: https://lore.kernel.org/r/20220909090425.14479-2-d.bogdanov@yadro.com
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions