Skip to content
Commit e8037d49 authored by Eric Seppanen's avatar Eric Seppanen Committed by Jens Axboe
Browse files

block: Fix queue_flag update when rq_affinity goes from 2 to 1



Commit 5757a6d7 added the QUEUE_FLAG_SAME_FORCE flag, but fails to
clear that flag when the current state is '2' (SAME_COMP + SAME_FORCE)
and the new state is '1' (SAME_COMP).

Acked-by: default avatarDan Williams <dan.j.williams@intel.com>
Reviewed-by: default avatarRoland Dreier <roland@purestorage.com>
Signed-off-by: default avatarEric Seppanen <eric@purestorage.com>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 89c63a8e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment