Re: [PATCH] blk-rq-qos: make depth comparisons unsigned

2018-07-22 Thread Jens Axboe
On 7/19/18 7:42 PM, Josef Bacik wrote: > With the change to use UINT_MAX I broke the depth check as any value of > inflight (ie 0) would be less than (int)UINT_MAX. Fix this by changing > everything to unsigned int to match the depth. Applied, thanks. -- Jens Axboe

[PATCH] blk-rq-qos: make depth comparisons unsigned

2018-07-19 Thread Josef Bacik
With the change to use UINT_MAX I broke the depth check as any value of inflight (ie 0) would be less than (int)UINT_MAX. Fix this by changing everything to unsigned int to match the depth. Signed-off-by: Josef Bacik --- block/blk-rq-qos.c | 8 block/blk-rq-qos.h | 2 +- 2 files