]> www.infradead.org Git - users/jedix/linux-maple.git/commit
blk-mq: Clean up all_q_list on request_queue deletion
authorchris hyser <chris.hyser@oracle.com>
Fri, 3 Mar 2017 21:24:22 +0000 (13:24 -0800)
committerAllen Pais <allen.pais@oracle.com>
Mon, 15 May 2017 10:51:50 +0000 (16:21 +0530)
commitdb909ebaeb93b58294b935887c0bbff911c2c080
tree77cc181305d06400e8b63855b78550230ebe4bfb
parent146f5c15f549112b12fad3854092a1e82e86bb83
blk-mq: Clean up all_q_list on request_queue deletion

Entries were not being removed from all_q_list when corresponding request
queue structs were freed with subsequent embedded list pointers being
trashed when the queue memory was re-allocated. Additionally, due to use of
cached allocation pool (kmem_cache_alloc_node), the same data structure
would be reinserted into the same list twice which cannot work given the
kernel linked list implementation.

Signed-off-by: Chris Hyser <chris.hyser@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Orabug: 25569331
Signed-off-by: Allen Pais <allen.pais@oracle.com>
block/blk-mq.c