Please sign in to comment.
Modify interface and operation to comply with blk-mq-sched
As for modifications of the operation, the major changes are the introduction of a scheduler lock, and the moving to deferred work of the body of the hook exit_icq. The latter change has been made to avoid deadlocks caused by the combination of the following facts: 1) such a body takes the scheduler lock, and, if not deferred, 2) it does so from inside the exit_icq hook, which is invoked with the queue lock held, and 3) there is at least one code path, namely that starting from bfq_bio_merge, which takes these locks in the opposite order. Signed-off-by: Paolo Valente <firstname.lastname@example.org>
- Loading branch information...
Showing with 394 additions and 340 deletions.
Oops, something went wrong.