Searched hist:"22 f17952c7873a427e6e4280d723c0f686d75fb9" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/block/ |
H A D | blk-rq-qos.h | diff 22f17952c7873a427e6e4280d723c0f686d75fb9 Thu Jul 19 20:42:13 CDT 2018 Josef Bacik <josef@toxicpanda.com> blk-rq-qos: make depth comparisons unsigned
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 <josef@toxicpanda.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
H A D | blk-rq-qos.c | diff 22f17952c7873a427e6e4280d723c0f686d75fb9 Thu Jul 19 20:42:13 CDT 2018 Josef Bacik <josef@toxicpanda.com> blk-rq-qos: make depth comparisons unsigned
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 <josef@toxicpanda.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|