[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f436a02e-19b6-5c2a-8139-526d9d4eace9@kernel.dk>
Date: Wed, 1 Feb 2017 14:31:53 -0800
From: Jens Axboe <axboe@...nel.dk>
To: Tahsin Erdogan <tahsin@...gle.com>, linux-block@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block: queue lock must be acquired when iterating over
rls
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
Powered by blists - more mailing lists