Re: [PATCH] Reduce number of scsi_test_unit_ready() retries

2018-02-13 Thread Martin K. Petersen
Bart, > Make scsi_test_unit_ready() send at most as many TURs as specified > in the 'retries' argument instead of retries * (retries + 1) / 2. Applied to 4.17/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] Reduce number of scsi_test_unit_ready() retries

2018-02-13 Thread Hannes Reinecke
On 02/12/2018 07:57 PM, Bart Van Assche wrote: > Make scsi_test_unit_ready() send at most as many TURs as specified > in the 'retries' argument instead of retries * (retries + 1) / 2. > > Signed-off-by: Bart Van Assche > --- > drivers/scsi/scsi_lib.c | 2 +- > 1 file changed, 1 insertion(+), 1 d

[PATCH] Reduce number of scsi_test_unit_ready() retries

2018-02-12 Thread Bart Van Assche
Make scsi_test_unit_ready() send at most as many TURs as specified in the 'retries' argument instead of retries * (retries + 1) / 2. Signed-off-by: Bart Van Assche --- drivers/scsi/scsi_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/sc