mbox series

[0/2,v2] block: Fix deadlock when merging requests with BFQ

Message ID 20210524100416.3578-1-jack@suse.cz (mailing list archive)
Headers show
Series block: Fix deadlock when merging requests with BFQ | expand

Message

Jan Kara May 24, 2021, 10:04 a.m. UTC
Hello,

This patch series fixes a lockdep complaint and a possible deadlock that
can happen when blk_mq_sched_try_insert_merge() merges and frees a request.

Changes since v1:
* Remove patch disabling recursing request merging during request insertion
* Modified BFQ to cleanup merged request already in its .merge_requests handler
* Added code to handle multiple requests that need freeing after being merged

								Honza