Re: [PATCH v5 06/10] scsi: scsi_debug: set command's result and sense data if the error is injected

2023-10-05 Thread Dan Carpenter
: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next patch link: https://lore.kernel.org/r/20230922092906.2645265-7-haowenchao2%40huawei.com patch subject: [PATCH v5 06/10] scsi: scsi_debug: set command's result and sense data if the error is injected config: x86_64-randc

[PATCH v5 06/10] scsi: scsi_debug: set command's result and sense data if the error is injected

2023-09-22 Thread 'Wenchao Hao' via open-iscsi
If a fail commnd error is injected, set the command's status and sense data then finish this scsi command. Set SCSI command's status and sense data format: ++--+---+ | Column | Type | Description