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: NDan Williams <dan.j.williams@intel.com> Reviewed-by: NRoland Dreier <roland@purestorage.com> Signed-off-by: NEric Seppanen <eric@purestorage.com> Signed-off-by: NJens Axboe <jaxboe@fusionio.com>
Showing
想要评论请 注册 或 登录