Commit 66b18864 authored by Bart Van Assche's avatar Bart Van Assche Committed by Zheng Zengkai
Browse files

scsi: core: Show SCMD_LAST in text form

stable inclusion
from stable-v5.10.94
commit 4fe77b7cd27229486b67c83df71019fe89d3951e
bugzilla: https://gitee.com/openeuler/kernel/issues/I531X9

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4fe77b7cd27229486b67c83df71019fe89d3951e

--------------------------------

commit 3369046e upstream.

The SCSI debugfs code supports showing information about pending commands,
including translating SCSI command flags from numeric into text format.
Also convert the SCMD_LAST flag from numeric into text form.

Link: https://lore.kernel.org/r/20211129194609.3466071-4-bvanassche@acm.org


Fixes: 8930a6c2 ("scsi: core: add support for request batching")
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 6d7a28d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment