![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1199355 http://bugzilla.opensuse.org/show_bug.cgi?id=1199355#c36 Hannes Reinecke <hare@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seife@novell.slipkontur.de Flags| |needinfo?(seife@novell.slip | |kontur.de) --- Comment #36 from Hannes Reinecke <hare@suse.com> --- Next try: diff --git a/block/blk-mq.c b/block/blk-mq.c index 84d749511f55..e6f15ac9afd0 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -2769,6 +2769,10 @@ static inline struct request *blk_mq_get_cached_request(struct request_queue *q, rq = rq_list_peek(&plug->cached_rq); if (!rq || rq->q != q) return NULL; + if (WARN_ON(!rq->mq_hctx)) { + plug->cached_rq = rq_list_next(rq); + return NULL; + } if (blk_mq_attempt_bio_merge(q, *bio, nsegs)) { *bio = NULL; (and remove the debug patch). seife? -- You are receiving this mail because: You are on the CC list for the bug.