From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH] block: queue lock must be acquired when iterating over rls To: Tahsin Erdogan , linux-block@vger.kernel.org References: <20170201063650.15060-1-tahsin@google.com> Cc: linux-kernel@vger.kernel.org From: Jens Axboe Message-ID: Date: Wed, 1 Feb 2017 14:31:53 -0800 MIME-Version: 1.0 In-Reply-To: <20170201063650.15060-1-tahsin@google.com> Content-Type: text/plain; charset=windows-1252 List-ID: On 01/31/2017 10:36 PM, Tahsin Erdogan wrote: > blk_set_queue_dying() does not acquire queue lock before it calls > blk_queue_for_each_rl(). This allows a racing blkg_destroy() to > remove blkg->q_node from the linked list and have > blk_queue_for_each_rl() loop infitely over the removed blkg->q_node > list node. Thanks, applied. -- Jens Axboe