Re: [PATCH] scsi: Fix failed request error code

2018-04-04 Thread Damien Le Moal
On 4/4/18 16:39, Damien Le Moal wrote: > Hannes, > > On 4/4/18 16:35, Hannes Reinecke wrote: >> On Wed, 4 Apr 2018 07:06:58 + >> Damien Le Moal wrote: >> >>> Hannes, >>> >>> On 4/4/18 15:57, Hannes Reinecke wrote: On Wed, 4 Apr 2018 15:51:38 +0900 Damien Le Moal wrote: >

Re: [PATCH] scsi: Fix failed request error code

2018-04-04 Thread Damien Le Moal
Hannes, On 4/4/18 16:35, Hannes Reinecke wrote: > On Wed, 4 Apr 2018 07:06:58 + > Damien Le Moal wrote: > >> Hannes, >> >> On 4/4/18 15:57, Hannes Reinecke wrote: >>> On Wed, 4 Apr 2018 15:51:38 +0900 >>> Damien Le Moal wrote: >>> With the introduction of commit e39a97353e53 ("scsi

Re: [PATCH] scsi: Fix failed request error code

2018-04-04 Thread Hannes Reinecke
On Wed, 4 Apr 2018 07:06:58 + Damien Le Moal wrote: > Hannes, > > On 4/4/18 15:57, Hannes Reinecke wrote: > > On Wed, 4 Apr 2018 15:51:38 +0900 > > Damien Le Moal wrote: > > > >> With the introduction of commit e39a97353e53 ("scsi: core: return > >> BLK_STS_OK for DID_OK in __scsi_error

Re: [PATCH] scsi: Fix failed request error code

2018-04-04 Thread Damien Le Moal
Hannes, On 4/4/18 15:57, Hannes Reinecke wrote: > On Wed, 4 Apr 2018 15:51:38 +0900 > Damien Le Moal wrote: > >> With the introduction of commit e39a97353e53 ("scsi: core: return >> BLK_STS_OK for DID_OK in __scsi_error_from_host_byte()"), a command >> that failed with hostbyte=DID_OK and drive

Re: [PATCH] scsi: Fix failed request error code

2018-04-03 Thread Hannes Reinecke
On Wed, 4 Apr 2018 15:51:38 +0900 Damien Le Moal wrote: > With the introduction of commit e39a97353e53 ("scsi: core: return > BLK_STS_OK for DID_OK in __scsi_error_from_host_byte()"), a command > that failed with hostbyte=DID_OK and driverbyte=DRIVER_SENSE but > lacking additional sense informat