Re: [PATCH] scsi: Handle power-on reset unit attention

2017-10-18 Thread Martin K. Petersen
Hannes, > As per SAM there is a status precedence, with any sense code 29/XX > taking second place just after an ACA ACTIVE status. Additionally, > each target might prefer to not queue any unit attention conditions, > but just report one. Due to the above this will be that one with the > highe

[PATCH] scsi: Handle power-on reset unit attention

2017-10-17 Thread Hannes Reinecke
As per SAM there is a status precedence, with any sense code 29/XX taking second place just after an ACA ACTIVE status. Additionally, each target might prefer to not queue any unit attention conditions, but just report one. Due to the above this will be that one with the highest precedence. This re