Re: [PATCH] scsi: ufs: Correct the lun used in eh_device_reset_handler() callback

2021-01-07 Thread Martin K. Petersen
On Mon, 28 Dec 2020 04:04:36 -0800, Can Guo wrote: > Users can initiate resets to specific SCSI device/target/host through > IOCTL. When this happens, the SCSI cmd passed to eh_device/target/host > _reset_handler() callbacks is initialized with a request whose tag is -1. > So, in this case, it is

Re: [PATCH] scsi: ufs: Correct the lun used in eh_device_reset_handler() callback

2020-12-30 Thread Stanley Chu
On Mon, 2020-12-28 at 04:04 -0800, Can Guo wrote: > Users can initiate resets to specific SCSI device/target/host through > IOCTL. When this happens, the SCSI cmd passed to eh_device/target/host > _reset_handler() callbacks is initialized with a request whose tag is -1. > So, in this case, it is

Re: [PATCH] scsi: ufs: Correct the lun used in eh_device_reset_handler() callback

2020-12-29 Thread Can Guo
On 2020-12-30 15:20, Avri Altman wrote: Users can initiate resets to specific SCSI device/target/host through IOCTL. When this happens, the SCSI cmd passed to eh_device/target/host _reset_handler() callbacks is initialized with a request whose tag is -1. So, in this case, it is not right for

RE: [PATCH] scsi: ufs: Correct the lun used in eh_device_reset_handler() callback

2020-12-29 Thread Avri Altman
> Users can initiate resets to specific SCSI device/target/host through > IOCTL. When this happens, the SCSI cmd passed to eh_device/target/host > _reset_handler() callbacks is initialized with a request whose tag is -1. > So, in this case, it is not right for eh_device_reset_handler() callback