Re: [PATCH v4] scsi: tcmu: avoid cmd/qfull timers updated whenever a new cmd comes

2019-01-11 Thread Martin K. Petersen
Xiubo, > This fix will keep the cmd/qfull timers to be pended for the oldest > cmd in ringbuffer and full queue, and will update them with the next > cmd's deadline only when the old cmd's deadline is reached or removed > from the ringbuffer and full queue. Applied to 5.0/scsi-fixes. Thank you!

Re: [PATCH v4] scsi: tcmu: avoid cmd/qfull timers updated whenever a new cmd comes

2019-01-11 Thread Mike Christie
On 11/22/2018 07:15 PM, xiu...@redhat.com wrote: > From: Xiubo Li > > Currently there has one cmd timeout timer and one qfull timer for > each udev, and whenever there has any new coming cmd it will update > the cmd timer or qfull timer. And for some corner case the timers > are always working on

[PATCH v4] scsi: tcmu: avoid cmd/qfull timers updated whenever a new cmd comes

2018-11-22 Thread xiubli
From: Xiubo Li Currently there has one cmd timeout timer and one qfull timer for each udev, and whenever there has any new coming cmd it will update the cmd timer or qfull timer. And for some corner case the timers are always working only for the ringbuffer's and full queue's newest cmd. That's t