mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-04 04:04:19 +00:00
block, bfq: fix operator in BFQQ_TOTALLY_SEEKY
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.
Fixes: 7074f076ff
("block, bfq: do not tag totally seeky queues as soft rt")
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
60c112b0ad
commit
e6feaf215f
@ -240,7 +240,7 @@ static struct kmem_cache *bfq_pool;
|
|||||||
* containing only random (seeky) I/O are prevented from being tagged
|
* containing only random (seeky) I/O are prevented from being tagged
|
||||||
* as soft real-time.
|
* as soft real-time.
|
||||||
*/
|
*/
|
||||||
#define BFQQ_TOTALLY_SEEKY(bfqq) (bfqq->seek_history & -1)
|
#define BFQQ_TOTALLY_SEEKY(bfqq) (bfqq->seek_history == -1)
|
||||||
|
|
||||||
/* Min number of samples required to perform peak-rate update */
|
/* Min number of samples required to perform peak-rate update */
|
||||||
#define BFQ_RATE_MIN_SAMPLES 32
|
#define BFQ_RATE_MIN_SAMPLES 32
|
||||||
|
Loading…
Reference in New Issue
Block a user