[lkml]   [2019]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH BUGFIX V2] block, bfq: fix operator in BFQQ_TOTALLY_SEEKY

> Il giorno 24 giu 2019, alle ore 18:12, Jens Axboe <> ha scritto:
> On 6/22/19 2:44 PM, Paolo Valente wrote:
>> By mistake, there is a '&' instead of a '==' in the definition of the
>> macro BFQQ_TOTALLY_SEEKY. This commit replaces the wrong operator with
>> the correct one.
> A bit worrying that this wasn't caught in testing, as it would have
> resulted in _any_ queue being positive for totally seeky?

Fortunately there's a somewhat reassuring explanation. The commit
introducing this macro prevented seeky queues from being considered
soft real-time. And, to be more selective, it actually filtered out
only totally seeky queues, i.e., queues whose last I/O requests are
*all* random. With this error, any seeky queue was considered totally
seeky. This the broke (only) selectivity.

> Anyway, applied.


> --
> Jens Axboe

 \ /
  Last update: 2019-06-24 21:18    [W:0.038 / U:52.128 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site